-rw-r--r-- | core/multimedia/opieplayer/mediaplayerstate.cpp | 4 | ||||
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/core/multimedia/opieplayer/mediaplayerstate.cpp b/core/multimedia/opieplayer/mediaplayerstate.cpp index a960c49..4e14436 100644 --- a/core/multimedia/opieplayer/mediaplayerstate.cpp +++ b/core/multimedia/opieplayer/mediaplayerstate.cpp @@ -41,16 +41,16 @@ MediaPlayerState::MediaPlayerState( QObject *parent, const char *name ) : QObject( parent, name ), decoder( NULL ), libmpeg3decoder( NULL ) { - Config cfg( "MediaPlayer" ); + Config cfg( "OpiePlayer" ); readConfig( cfg ); loadPlugins(); } MediaPlayerState::~MediaPlayerState() { - Config cfg( "MediaPlayer" ); + Config cfg( "OpiePlayer" ); writeConfig( cfg ); } diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index 4b1ff22..218fd49 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -288,9 +288,9 @@ populateVideoView(); // connect( d->selectedFiles, SIGNAL( fileSelected( const DocLnk & ) ), this, SLOT( addToSelection( const DocLnk & ) ) ); setCentralWidget( vbox5 ); - Config cfg( "MediaPlayer" ); + Config cfg( "OpiePlayer" ); readConfig( cfg ); QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); // qDebug("currentList is "+currentPlaylist); loadList(DocLnk( currentPlaylist)); @@ -300,9 +300,9 @@ populateVideoView(); } PlayListWidget::~PlayListWidget() { - Config cfg( "MediaPlayer" ); + Config cfg( "OpiePlayer" ); writeConfig( cfg ); if ( d->current ) @@ -624,9 +624,9 @@ void PlayListWidget::saveList() { // qDebug(filename); if(!lnk.writeLink()) qDebug("Writing doclink did not work"); } - Config config( "MediaPlayer" ); + Config config( "OpiePlayer" ); config.writeEntry("CurrentPlaylist",filename); setCaption(tr("OpiePlayer: ")+filename); d->selectedFiles->first(); if(fileDlg) @@ -644,9 +644,9 @@ void PlayListWidget::loadList( const DocLnk & lnk) { readConfig(cfg); tabWidget->setCurrentPage(0); - Config config( "MediaPlayer" ); + Config config( "OpiePlayer" ); config.writeEntry("CurrentPlaylist", name); // d->selectedFiles->first(); } @@ -667,9 +667,9 @@ void PlayListWidget::setView( char view ) { } void PlayListWidget::addSelected() { - Config cfg( "MediaPlayer" ); + Config cfg( "OpiePlayer" ); cfg.setGroup("PlayList"); QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 ); @@ -878,9 +878,9 @@ void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *item, const } void PlayListWidget::listDelete() { - Config cfg( "MediaPlayer" ); + Config cfg( "OpiePlayer" ); cfg.setGroup("PlayList"); QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); QString file; int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 ); |