summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/main.cpp
authorsimon <simon>2002-12-09 21:43:32 (UTC)
committer simon <simon>2002-12-09 21:43:32 (UTC)
commit40ff6884f079a55fcf219b2d032c7be4da385bc1 (patch) (side-by-side diff)
treefd13c702652ee0f22201eb6145b10e67f9580aeb /noncore/multimedia/opieplayer2/main.cpp
parenta9015ff25ddec67983f78f2a75346f21b7d062c5 (diff)
downloadopie-40ff6884f079a55fcf219b2d032c7be4da385bc1.zip
opie-40ff6884f079a55fcf219b2d032c7be4da385bc1.tar.gz
opie-40ff6884f079a55fcf219b2d032c7be4da385bc1.tar.bz2
- hah, the improved design pays off :) switching skins at run-time now
only reloads the pixmaps and no more requires a restart or re-creation of the audio/video widgets and the xine control (which involved slow xine initialization)
Diffstat (limited to 'noncore/multimedia/opieplayer2/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/main.cpp b/noncore/multimedia/opieplayer2/main.cpp
index ffc7cb6..f87cee8 100644
--- a/noncore/multimedia/opieplayer2/main.cpp
+++ b/noncore/multimedia/opieplayer2/main.cpp
@@ -12,7 +12,7 @@ int main(int argc, char **argv) {
pl.showMaximized();
MediaPlayer mp( pl, st, 0, "mediaPlayer" );
QObject::connect( &pl, SIGNAL( skinSelected() ),
- &mp, SLOT( recreateAudioAndVideoWidgets() ) );
+ &mp, SLOT( reloadSkins() ) );
a.showMainDocumentWidget(&pl);