diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-11-14 21:19:27 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-11-14 21:19:27 +0000 |
| commit | 5e26d3a305b8e2c193ef04681c3c00937505ce53 (patch) | |
| tree | 64d2d6c12dec706838f872e05f451a933b476fc0 /src/mainwindow.cpp | |
| parent | bfabba0454037c8817ed192dc110c4237888bae8 (diff) | |
| download | qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.tar.gz qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.tar.bz2 qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.zip | |
shaded mode for the main display
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@183 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 324c8521b..30470882d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -106,6 +106,7 @@ MainWindow::MainWindow(const QStringList& args, QWidget *parent) createActions(); + m_core = new SoundCore(this); m_titlebar = new TitleBar(this); m_titlebar->move(0,0); m_titlebar->show(); @@ -124,7 +125,6 @@ MainWindow::MainWindow(const QStringList& args, QWidget *parent) m_vis = MainVisual::getPointer(); - m_core = new SoundCore(this); m_core->addVisualization(m_vis); m_core->showVisualization(this); @@ -306,6 +306,7 @@ void MainWindow::showOutputState(const OutputState &st) display->setInfo(st); m_playlist->setInfo(st, m_core->length(), m_playListModel->totalLength()); + m_titlebar->setInfo(st); switch ((int) st.type()) { case OutputState::Playing: |
