From 5e26d3a305b8e2c193ef04681c3c00937505ce53 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 14 Nov 2007 21:19:27 +0000 Subject: 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 --- src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') 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: -- cgit v1.2.3-13-gbd6f