OBS-URL: https://build.opensuse.org/request/show/320464 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/oxygen-gtk2?expand=0&rev=17
16 lines
491 B
Diff
16 lines
491 B
Diff
--- a/src/oxygenqtsettings.cpp
|
|
+++ b/src/oxygenqtsettings.cpp
|
|
@@ -277,7 +277,11 @@
|
|
|
|
// load icon install prefix
|
|
gchar* path = 0L;
|
|
- if( runCommand( "kde4-config --path config", path ) && path )
|
|
+ if( runCommand( "qtpaths --paths ConfigLocation", path ) && path )
|
|
+ {
|
|
+ out.split( path );
|
|
+ g_free( path );
|
|
+ } else if( runCommand( "kde4-config --path config", path ) && path )
|
|
{
|
|
|
|
out.split( path );
|