diff -r 23b5d6a29cce -r 4785f57bf3d4 homescreenapp/hsdomainmodel/src/hswallpaper.cpp --- a/homescreenapp/hsdomainmodel/src/hswallpaper.cpp Fri May 14 15:43:04 2010 +0300 +++ b/homescreenapp/hsdomainmodel/src/hswallpaper.cpp Thu May 27 12:46:08 2010 +0300 @@ -56,7 +56,7 @@ mLImagePath = landscapeImagePath; mPImagePath = portraitImagePath; mOrientation = HsScene::orientation(); - + if (mOrientation == Qt::Horizontal) { setLandscapeImage(mLImagePath, true); } else { @@ -90,7 +90,7 @@ if (mPImagePath != wallpaperPath(Qt::Vertical)) { QFile::remove(mPImagePath); mPImagePath.clear(); - } + } return true; } @@ -100,7 +100,7 @@ static QString directory = QDir::toNativeSeparators("c:/private/20022f35/wallpapers/"); #else - static QString directory = + static QString directory = QDir::toNativeSeparators(QDir::currentPath() + "/private/20022f35/wallpapers/"); #endif @@ -124,4 +124,4 @@ } else { mIconItem->setIcon(HbIcon(QIcon(mPImagePath))); } -} \ No newline at end of file +}