summaryrefslogtreecommitdiff
blob: 87e5197e90d54d61bbeb17c3896f3dd3a7d3fd34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Patch kindly borrowed from openSUSE

Gentoo-bug: 563802

--- 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 );