typo, it is path() not root()

This commit is contained in:
Duncan Mac-Vicar P 2011-04-06 10:56:16 +02:00
parent 79f28c7f10
commit ab86052f8a

View file

@ -76,7 +76,7 @@ void Folder::slotPollTimerTimeout()
{ {
qDebug() << "* Polling" << alias() << "for changes. Ignoring all pending events until now"; qDebug() << "* Polling" << alias() << "for changes. Ignoring all pending events until now";
_watcher->clearPendingEvents(); _watcher->clearPendingEvents();
qDebug() << "* " << root() << "Poll timer disabled"; qDebug() << "* " << path() << "Poll timer disabled";
_pollTimer->stop(); _pollTimer->stop();
startSync(QStringList()); startSync(QStringList());
} }
@ -103,7 +103,7 @@ void Folder::slotSyncFinished()
_watcher->setEventsEnabled(true); _watcher->setEventsEnabled(true);
_openAction->setIcon(QIcon(FOLDER_ICON)); _openAction->setIcon(QIcon(FOLDER_ICON));
// reenable the poll timer // reenable the poll timer
qDebug() << "* " << root() << "Poll timer enabled"; qDebug() << "* " << path() << "Poll timer enabled";
_pollTimer->start(); _pollTimer->start();
} }