Mageia Bugzilla – Attachment 4138 Details for
Bug 10519
starting gtk applications issues two messages 'kde4-config: command not found' in console
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch
kde4-config.patch (text/plain), 804 bytes, created by
Hugo Pereira Da Costa
on 2013-06-13 14:59:33 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Hugo Pereira Da Costa
Created:
2013-06-13 14:59:33 CEST
Size:
804 bytes
patch
obsolete
>diff --git a/src/oxygenqtsettings.cpp b/src/oxygenqtsettings.cpp >index 8f34479..f60f908 100644 >--- a/src/oxygenqtsettings.cpp >+++ b/src/oxygenqtsettings.cpp >@@ -295,7 +295,7 @@ namespace Oxygen > > // load icon install prefix > gchar* path = 0L; >- if( runCommand( "kde4-config --path config", path ) && path ) >+ if( runCommand( "kde4-config --path config 2>/dev/null", path ) && path ) > { > > out.split( path ); >@@ -325,7 +325,7 @@ namespace Oxygen > // load icon install prefix > PathList out; > char* path = 0L; >- if( runCommand( "kde4-config --path icon", path ) && path ) >+ if( runCommand( "kde4-config --path icon 2>/dev/null", path ) && path ) > { > out.split( path ); > g_free( path );
diff --git a/src/oxygenqtsettings.cpp b/src/oxygenqtsettings.cpp index 8f34479..f60f908 100644 --- a/src/oxygenqtsettings.cpp +++ b/src/oxygenqtsettings.cpp @@ -295,7 +295,7 @@ namespace Oxygen // load icon install prefix gchar* path = 0L; - if( runCommand( "kde4-config --path config", path ) && path ) + if( runCommand( "kde4-config --path config 2>/dev/null", path ) && path ) { out.split( path ); @@ -325,7 +325,7 @@ namespace Oxygen // load icon install prefix PathList out; char* path = 0L; - if( runCommand( "kde4-config --path icon", path ) && path ) + if( runCommand( "kde4-config --path icon 2>/dev/null", path ) && path ) { out.split( path ); g_free( path );
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10519
: 4138