summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-04-19 15:14:55 (UTC)
committer llornkcor <llornkcor>2003-04-19 15:14:55 (UTC)
commit89ced5d0c4f4ce89a11333d80aac2f8b81d97233 (patch) (side-by-side diff)
treec6cc7903731bd8a40db43a9d4fc0488daee46d9a
parentb8ac94f049b5a2de9a3567ee60dd98139321a0cf (diff)
downloadopie-89ced5d0c4f4ce89a11333d80aac2f8b81d97233.zip
opie-89ced5d0c4f4ce89a11333d80aac2f8b81d97233.tar.gz
opie-89ced5d0c4f4ce89a11333d80aac2f8b81d97233.tar.bz2
fix skin handling
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/audiowidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/audiowidget.cpp b/core/multimedia/opieplayer/audiowidget.cpp
index 3dfe182..a1973e9 100644
--- a/core/multimedia/opieplayer/audiowidget.cpp
+++ b/core/multimedia/opieplayer/audiowidget.cpp
@@ -84,13 +84,13 @@ AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) :
//skin = "scaleTest";
// color of background, frame, degree of transparency
// QString skinPath = "opieplayer/skins/" + skin;
QString skinPath;
skinPath = "opieplayer2/skins/" + skin;
- if(!QDir(skinPath).exists())
+ if(!QDir(QString(getenv("OPIEDIR")) +"/pics/"+skinPath).exists())
skinPath = "opieplayer2/skins/default";
qDebug("skin path " + skinPath);
pixBg = new QPixmap( Resource::loadPixmap( QString("%1/background").arg(skinPath) ) );
imgUp = new QImage( Resource::loadImage( QString("%1/skin_up").arg(skinPath) ) );