Diffstat (limited to 'noncore/multimedia/opieplayer3/mwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer3/mwindow.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer3/mwindow.cpp b/noncore/multimedia/opieplayer3/mwindow.cpp index 75d1490..0898c7b 100644 --- a/noncore/multimedia/opieplayer3/mwindow.cpp +++ b/noncore/multimedia/opieplayer3/mwindow.cpp @@ -44,4 +44,5 @@ #include <qpe/resource.h>
+#include <qpe/qpeapplication.h>
#include <qfileinfo.h>
@@ -62,5 +63,5 @@ PMainWindow::PMainWindow(QWidget*w, const char*name, WFlags f) {
checkLib();
- setCaption( QObject::tr("Opie Mediaplayer 3" ) );
+ setCaption(appTitle());
m_MainBox = new QWidget(this);
@@ -212,4 +213,5 @@ void PMainWindow::slotUserStop() hideVideo();
slotShowList();
+ setCaption(appTitle());
}
@@ -245,4 +247,5 @@ void PMainWindow::slotPlayCurrent() hideVideo();
slotShowList();
+ setCaption(appTitle());
return;
}
@@ -267,4 +270,5 @@ void PMainWindow::slotPlayCurrent() }
mediaWindowraised();
+ setCaption(appTitle()+" - "+m_LastItem->Lnk().name());
odebug << "Range: " << result << oendl;
m_PosSlider->setEnabled(true);
@@ -312,5 +316,6 @@ void PMainWindow::slotCheckPos() m_PosSlider->setValue(m_PlayLib->currentTime());
}
- QTimer::singleShot( 1000, this, SLOT( slotCheckPos() ) );
+ qApp->processEvents(100);
+ QTimer::singleShot( 900, this, SLOT( slotCheckPos() ) );
}
|