mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
Revert "kfreespace: poll for user config changes, even if it does not exist yet"
KStandardDirs::locateLocal() returns the same as KGlobal::dirs()->saveLocation()
This commit is contained in:
parent
d891677b00
commit
f06b7c74e6
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ KFreeSpaceModule::KFreeSpaceModule(QObject *parent, const QList<QVariant> &args)
|
|||
|
||||
m_dirwatch = new KDirWatch(this);
|
||||
m_dirwatch->setInterval(5000);
|
||||
const QString kfreespacercfile = KGlobal::dirs()->saveLocation("config", "kfreespacerc");
|
||||
const QString kfreespacercfile = KStandardDirs::locateLocal("config", "kfreespacerc");
|
||||
m_dirwatch->addFile(kfreespacercfile);
|
||||
connect(m_dirwatch, SIGNAL(dirty(QString)), this, SLOT(slotInit()));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue