From 89ced5d0c4f4ce89a11333d80aac2f8b81d97233 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sat, 19 Apr 2003 15:14:55 +0000 Subject: fix skin handling --- 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) : // 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); -- cgit v0.9.0.2