KDirWatch changes as discussed in Nürnberg and posted on core-devel

svn path=/trunk/kdebase/kwin/; revision=144333
This commit is contained in:
Malte Starostik 2002-03-22 00:09:25 +00:00
parent 4b025dddc5
commit 6dfd61dd20

View file

@ -133,6 +133,8 @@ IceWMConfig::IceWMConfig( KConfig* conf, QWidget* parent )
// Watch the icewm theme directory for theme additions/removals
KDirWatch::self()->addDir(localThemeString);
connect( KDirWatch::self(), SIGNAL(dirty(const QString&)), this, SLOT(findIceWMThemes()) );
connect( KDirWatch::self(), SIGNAL(created(const QString&)), this, SLOT(findIceWMThemes()) );
connect( KDirWatch::self(), SIGNAL(deleted(const QString&)), this, SLOT(findIceWMThemes()) );
// Set the konqui link url
QString urlThemeString = QString("file://") + localThemeString;