author | bipolar <bipolar> | 2002-03-08 06:52:35 (UTC) |
---|---|---|
committer | bipolar <bipolar> | 2002-03-08 06:52:35 (UTC) |
commit | 90157fb9bbd73d8d50d27089a7d1aa039bf2232c (patch) (unidiff) | |
tree | 5dd6477ce346fc411a17197956dd41858b2cad68 | |
parent | b0222c051d3666a4215c6b7271daec2ea6f783a0 (diff) | |
download | opie-90157fb9bbd73d8d50d27089a7d1aa039bf2232c.zip opie-90157fb9bbd73d8d50d27089a7d1aa039bf2232c.tar.gz opie-90157fb9bbd73d8d50d27089a7d1aa039bf2232c.tar.bz2 |
ljp: fixed path to Settings directory
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index 3171a84..cb58888 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <qaction.h> | 31 | #include <qaction.h> |
32 | #include <qimage.h> | 32 | #include <qimage.h> |
33 | #include <qfile.h> | 33 | #include <qfile.h> |
34 | #include <qdir.h> | ||
34 | #include <qlayout.h> | 35 | #include <qlayout.h> |
35 | #include <qlabel.h> | 36 | #include <qlabel.h> |
36 | #include <qlist.h> | 37 | #include <qlist.h> |
@@ -540,11 +541,11 @@ void PlayListWidget::saveList() { | |||
540 | Config cfg( filename +".playlist"); | 541 | Config cfg( filename +".playlist"); |
541 | writeConfig( cfg ); | 542 | writeConfig( cfg ); |
542 | DocLnk lnk; | 543 | DocLnk lnk; |
543 | lnk.setName( filename); //sets file name | ||
544 | // lnk.setComment( ""); | 544 | // lnk.setComment( ""); |
545 | lnk.setFile(QPEApplication::qpeDir()+"Settings/"+filename+".playlist.conf"); //sets File property | 545 | lnk.setFile(QDir::homeDirPath()+"/Settings/"+filename+".playlist.conf"); //sets File property |
546 | lnk.setType("playlist/plain");// hey is this a REGISTERED mime type?!?!? ;D | 546 | lnk.setType("playlist/plain");// hey is this a REGISTERED mime type?!?!? ;D |
547 | lnk.setIcon("mpegplayer/playlist2"); | 547 | lnk.setIcon("mpegplayer/playlist2"); |
548 | lnk.setName( filename); //sets file name | ||
548 | if(!lnk.writeLink()) | 549 | if(!lnk.writeLink()) |
549 | qDebug("Writing doclink did not work"); | 550 | qDebug("Writing doclink did not work"); |
550 | } | 551 | } |