aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
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: