You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.6-qtpaths.patch

20 lines
548 B

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