┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/viewproperties.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-01-30 19:31:37 +0000
committerPeter Penz <[email protected]>2007-01-30 19:31:37 +0000
commite1816544942d72f5228555adcd13a4ada0a712ed (patch)
tree83d09e4afcf83a035fb47622fded63dc8e2d1729 /src/viewproperties.cpp
parentd71de955f4a0901288d060a2eaceca305d11a203 (diff)
update to changes in class KGlobal (kdelibs)
svn path=/trunk/playground/utils/dolphin/; revision=628641
Diffstat (limited to 'src/viewproperties.cpp')
-rw-r--r--src/viewproperties.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/viewproperties.cpp b/src/viewproperties.cpp
index c0343350d..bbcb5927c 100644
--- a/src/viewproperties.cpp
+++ b/src/viewproperties.cpp
@@ -23,6 +23,7 @@
#include <QDateTime>
#include <QFile>
+#include <kcomponentdata.h>
#include <klocale.h>
#include <kstandarddirs.h>
#include <kurl.h>
@@ -178,7 +179,7 @@ void ViewProperties::save()
QString ViewProperties::destinationDir(const QString& subDir) const
{
- QString basePath = KGlobal::instance()->instanceName();
+ QString basePath = KGlobal::mainComponent().componentName();
basePath.append("/view_properties/").append(subDir);
return KStandardDirs::locateLocal("data", basePath);
}