diff --git a/src/renku/kontact/part.cpp b/src/renku/kontact/part.cpp --- a/src/renku/kontact/part.cpp +++ b/src/renku/kontact/part.cpp @@ -25,11 +25,11 @@ #include #include -#include #include #include #include +#include #include "../app/aboutdata.h" #include "../app/dependencies.h" @@ -77,7 +77,7 @@ ac->addAction(it.key(), it.value()); } - setXMLFile(KStandardDirs::locate("data", QStringLiteral("renku/renku_part.rc"))); + setXMLFile(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("renku/renku_part.rc"))); } Part::~Part() diff --git a/src/zanshin/kontact/part.cpp b/src/zanshin/kontact/part.cpp --- a/src/zanshin/kontact/part.cpp +++ b/src/zanshin/kontact/part.cpp @@ -25,11 +25,11 @@ #include #include -#include #include #include #include +#include #include "../app/aboutdata.h" #include "../app/dependencies.h" @@ -73,7 +73,7 @@ ac->addAction(it.key(), it.value()); } - setXMLFile(KStandardDirs::locate("data", QStringLiteral("zanshin/zanshin_part.rc"))); + setXMLFile(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("zanshin/zanshin_part.rc"))); } Part::~Part()