summaryrefslogtreecommitdiff
path: root/core
Side-by-side diff
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/mediaplayerstate.cpp4
-rw-r--r--core/multimedia/opieplayer/playlistwidget.cpp12
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
@@ -42,14 +42,14 @@
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
@@ -289,7 +289,7 @@ populateVideoView();
setCentralWidget( vbox5 );
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
readConfig( cfg );
QString currentPlaylist = cfg.readEntry("CurrentPlaylist","");
// qDebug("currentList is "+currentPlaylist);
@@ -301,7 +301,7 @@ populateVideoView();
PlayListWidget::~PlayListWidget() {
- Config cfg( "MediaPlayer" );
+ Config cfg( "OpiePlayer" );
writeConfig( cfg );
@@ -625,7 +625,7 @@ void PlayListWidget::saveList() {
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();
@@ -645,7 +645,7 @@ void PlayListWidget::loadList( const DocLnk & lnk) {
tabWidget->setCurrentPage(0);
- Config config( "MediaPlayer" );
+ Config config( "OpiePlayer" );
config.writeEntry("CurrentPlaylist", name);
// d->selectedFiles->first();
}
@@ -668,7 +668,7 @@ 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 );
@@ -879,7 +879,7 @@ 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;