diff --git a/effects/cube.cpp b/effects/cube.cpp index 5e659a48cc..9298570e54 100644 --- a/effects/cube.cpp +++ b/effects/cube.cpp @@ -137,7 +137,8 @@ void CubeEffect::loadConfig( QString config ) texturedCaps = conf.readEntry( "TexturedCaps", true ); if( texturedCaps ) { - QImage img = QImage( KGlobal::dirs()->findResource( "appdata", "cubecap.png" ) ); + QString capPath = conf.readEntry( "CapPath", KGlobal::dirs()->findResource( "appdata", "cubecap.png" ) ); + QImage img = QImage( capPath ); if( !img.isNull() ) { // change the alpha value of each pixel