mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: adjust to KDirWatch changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
6d8300726b
commit
71a46a50bb
3 changed files with 4 additions and 6 deletions
|
@ -13,10 +13,10 @@ set( netsystemdriver_SRCS
|
|||
|
||||
# TODO: find best-practice to do such dependant inclusion of files to compile, this is unreadable
|
||||
if(SLP_FOUND)
|
||||
set( slpnetworkbuilder_SRCS
|
||||
set( slpnetworkbuilder_SRCS
|
||||
builder/slp/slpservicebrowser.cpp
|
||||
builder/slp/slpnetworkbuilder.cpp
|
||||
)
|
||||
)
|
||||
endif(SLP_FOUND)
|
||||
|
||||
set( dnssdnetworkbuilder_SRCS
|
||||
|
|
|
@ -133,7 +133,6 @@ KWalletD::KWalletD()
|
|||
_dw = new KDirWatch(this );
|
||||
_dw->setObjectName( QLatin1String( "KWallet Directory Watcher" ) );
|
||||
_dw->addDir(KGlobal::dirs()->saveLocation("kwallet"));
|
||||
_dw->startScan(true);
|
||||
connect(_dw, SIGNAL(dirty(const QString&)), this, SLOT(emitWalletListDirty()));
|
||||
|
||||
_serviceWatcher.setWatchMode( QDBusServiceWatcher::WatchForOwnerChange );
|
||||
|
|
|
@ -416,7 +416,6 @@ void Image::updateDirWatch(const QStringList &newDirs)
|
|||
}
|
||||
}
|
||||
|
||||
m_dirWatch->startScan();
|
||||
m_dirs = newDirs;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue