author | llornkcor <llornkcor> | 2003-04-19 15:14:55 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-19 15:14:55 (UTC) |
commit | 89ced5d0c4f4ce89a11333d80aac2f8b81d97233 (patch) (unidiff) | |
tree | c6cc7903731bd8a40db43a9d4fc0488daee46d9a | |
parent | b8ac94f049b5a2de9a3567ee60dd98139321a0cf (diff) | |
download | opie-89ced5d0c4f4ce89a11333d80aac2f8b81d97233.zip opie-89ced5d0c4f4ce89a11333d80aac2f8b81d97233.tar.gz opie-89ced5d0c4f4ce89a11333d80aac2f8b81d97233.tar.bz2 |
fix skin handling
-rw-r--r-- | core/multimedia/opieplayer/audiowidget.cpp | 2 |
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 | |||
@@ -87,7 +87,7 @@ AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) : | |||
87 | // QString skinPath = "opieplayer/skins/" + skin; | 87 | // QString skinPath = "opieplayer/skins/" + skin; |
88 | QString skinPath; | 88 | QString skinPath; |
89 | skinPath = "opieplayer2/skins/" + skin; | 89 | skinPath = "opieplayer2/skins/" + skin; |
90 | if(!QDir(skinPath).exists()) | 90 | if(!QDir(QString(getenv("OPIEDIR")) +"/pics/"+skinPath).exists()) |
91 | skinPath = "opieplayer2/skins/default"; | 91 | skinPath = "opieplayer2/skins/default"; |
92 | 92 | ||
93 | qDebug("skin path " + skinPath); | 93 | qDebug("skin path " + skinPath); |