예제 #1
0
KisStrokeJob* KisStroke::popOneJob()
{
    KisStrokeJob *job = dequeue();

    if(job) {
        m_prevJobSequential = job->isSequential();

        m_strokeInitialized = true;
        m_strokeSuspended = false;
    }

    return job;
}
예제 #2
0
KisStrokeJob* KisStroke::popOneJob()
{
    KisStrokeJob *job = dequeue();

    if(job) {
        m_prevJobSequential = job->isSequential();

        if(!m_strokeInitialized) {
            m_strokeInitialized = true;
        }
    }

    return job;
}