Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_idle_watcher.cpp
Context not available. | |||||
48 | }; | 48 | }; | ||
---|---|---|---|---|---|
49 | 49 | | |||
50 | 50 | | |||
51 | KisIdleWatcher::KisIdleWatcher(int delay) | 51 | KisIdleWatcher::KisIdleWatcher(int delay, QObject *parent) | ||
52 | : m_d(new Private(delay)) | 52 | : QObject(parent), m_d(new Private(delay)) | ||
53 | { | 53 | { | ||
54 | connect(&m_d->imageModifiedCompressor, SIGNAL(timeout()), SLOT(startIdleCheck())); | 54 | connect(&m_d->imageModifiedCompressor, SIGNAL(timeout()), SLOT(startIdleCheck())); | ||
55 | connect(&m_d->idleCheckTimer, SIGNAL(timeout()), SLOT(slotIdleCheckTick())); | 55 | connect(&m_d->idleCheckTimer, SIGNAL(timeout()), SLOT(slotIdleCheckTick())); | ||
Context not available. |