diff --git a/clients/oxygen/oxygenfactory.cpp b/clients/oxygen/oxygenfactory.cpp index 47ec4f8923..6a9d213a0f 100644 --- a/clients/oxygen/oxygenfactory.cpp +++ b/clients/oxygen/oxygenfactory.cpp @@ -52,12 +52,6 @@ namespace Oxygen { readConfig(); setInitialized( true ); - - // background pixmap - QPixmap pixmap; - pixmap.load( "/home/hpereira/Pictures/Wallpapers/window.ornate.png" ); - helper().setBackgroundPixmap( pixmap ); - } //___________________________________________________ @@ -141,6 +135,12 @@ namespace Oxygen if( changed ) { helper().setBackgroundPixmapOffset( QPoint( shadowCache().shadowSize(), 0 ) ); } + // background pixmap + { + KConfigGroup group( config.group("Common") ); + helper().setBackgroundPixmap( group.readEntry( "BackgroundPixmap", "" ) ); + } + return changed; }