summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-07-28 15:18:09 (UTC)
committer llornkcor <llornkcor>2002-07-28 15:18:09 (UTC)
commite87f032ca687227532187667d06b1de899b6bb8c (patch) (side-by-side diff)
tree63f5e4a81e7e15c1df2af30864313b17ce7abcdc
parent414f7334dc8daa69c616961f6857ba972af3cd1c (diff)
downloadopie-e87f032ca687227532187667d06b1de899b6bb8c.zip
opie-e87f032ca687227532187667d06b1de899b6bb8c.tar.gz
opie-e87f032ca687227532187667d06b1de899b6bb8c.tar.bz2
changed skins pics dir to opieplayer
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index 9f384cc..31687b9 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -96,25 +96,25 @@ static const int numButtons = (sizeof(audioButtons)/sizeof(MediaButton));
AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) :
QWidget( parent, name, f ), songInfo( this ), slider( Qt::Horizontal, this ), time( this )
setCaption( tr("OpiePlayer") );
Config cfg("OpiePlayer");
cfg.setGroup("AudioWidget");
skin = cfg.readEntry("Skin","default");
//skin = "scaleTest";
// color of background, frame, degree of transparency
- QString skinPath = "mediaplayer/skins/" + skin;
+ QString skinPath = "opieplayer/skins/" + skin;
pixBg = new QPixmap( Resource::loadPixmap( QString("%1/background").arg(skinPath) ) );
imgUp = new QImage( Resource::loadImage( QString("%1/skin_up").arg(skinPath) ) );
imgDn = new QImage( Resource::loadImage( QString("%1/skin_down").arg(skinPath) ) );
imgButtonMask = new QImage( imgUp->width(), imgUp->height(), 8, 255 );
imgButtonMask->fill( 0 );
for ( int i = 0; i < 11; i++ ) {
QString filename = QString(getenv("OPIEDIR")) + "/pics/" + skinPath + "/skin_mask_" + skin_mask_file_names[i] + ".png";
masks[i] = new QBitmap( filename );
if ( !masks[i]->isNull() ) {