Commit b265047c authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

port away from kstandarddirs

parent 3d544f5f
......@@ -37,7 +37,7 @@ GlobalSettingsWidget::GlobalSettingsWidget( QWidget *parent )
{
ui.setupUi(this);
QString path = KGlobal::dirs()->findResource( "services", "kded/khotkeys.desktop");
QString path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kde5/services/kded/khotkeys.desktop");
if ( KDesktopFile::isDesktopFile(path) )
{
_config = KSharedConfig::openConfig(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment