summaryrefslogtreecommitdiff
authorsandman <sandman>2002-09-27 00:59:52 (UTC)
committer sandman <sandman>2002-09-27 00:59:52 (UTC)
commitac99721b91f3c61d37236932a5d0f6bc09caaa54 (patch) (side-by-side diff)
treee8397c2fd2636452485c5192bbe8166052d08df9
parent6ac98209a82c5aa24ab09faf79525cd9aa5a8a1d (diff)
downloadopie-ac99721b91f3c61d37236932a5d0f6bc09caaa54.zip
opie-ac99721b91f3c61d37236932a5d0f6bc09caaa54.tar.gz
opie-ac99721b91f3c61d37236932a5d0f6bc09caaa54.tar.bz2
- fixed bg image location
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 047fe45..c2bde53 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -700,13 +700,13 @@ void LauncherView::setBackgroundType( BackgroundType t, const QString &val )
bgName = val;
if ( bgCache->contains( bgName ) ) {
(*bgCache)[bgName]->ref++;
icons->setBackgroundPixmap( (*bgCache)[bgName]->pm );
} else {
qDebug( "Loading image: %s", val.latin1() );
- QPixmap bg( Resource::loadPixmap( "wallpaper/" + val ) );
+ QPixmap bg( Resource::loadPixmap( val ) );
if ( bg.isNull() ) {
QImageIO imgio;
imgio.setFileName( bgName );
QSize ds = qApp->desktop()->size();
QString param( "Scale( %1, %2, ScaleMin )" ); // No tr
imgio.setParameters( param.arg(ds.width()).arg(ds.height()).latin1() );