diff options
| author | Arno <arno@disconnect.de> | 2017-03-06 07:01:09 +0100 |
|---|---|---|
| committer | Arno <arno@disconnect.de> | 2017-03-06 07:01:09 +0100 |
| commit | f17f6d7b87cf25d31bc138cc9f483445bb171573 (patch) | |
| tree | 6386e1883f6d1a2a704afa90e1648a05723677c5 /beetplayer.cpp | |
| parent | b7421f4bc4244240229af06c7baa6810d2882feb (diff) | |
| download | BeetPlayer-f17f6d7b87cf25d31bc138cc9f483445bb171573.tar.gz BeetPlayer-f17f6d7b87cf25d31bc138cc9f483445bb171573.tar.bz2 BeetPlayer-f17f6d7b87cf25d31bc138cc9f483445bb171573.zip | |
Set appropriate window title
Diffstat (limited to 'beetplayer.cpp')
| -rw-r--r-- | beetplayer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/beetplayer.cpp b/beetplayer.cpp index 82b749a..99d5a92 100644 --- a/beetplayer.cpp +++ b/beetplayer.cpp @@ -32,8 +32,13 @@ BeetPlayer::BeetPlayer(QWidget *parent, Qt::WindowFlags f) : QMainWindow(parent, connect(mPlayerWidget, SIGNAL(numFilesChanged(int)), this, SLOT(setNumFiles(int))); connect(mPlayerWidget, SIGNAL(playListLengthChanged(quint64)), this, SLOT(setPlayListLength(quint64))); connect(mPlayerWidget, SIGNAL(message(QString)), this, SLOT(setMessage(QString))); + connect(mPlayerWidget, SIGNAL(setWinTitle(QString)), this, SLOT(setWindowTitle(QString))); createStatusbar(); setCentralWidget(mPlayerWidget); + splash.showMessage(tr("Populating..."), Qt::AlignHCenter, Qt::yellow); + qApp->processEvents(); + mPlayerWidget->doStop(); + mPlayerWidget->doPopulateByArtist(); } void BeetPlayer::openDatabase(){ |
