Skip to content

Commit

Permalink
Move creation of notification center so it will be last in screen stack.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Jul 1, 2013
1 parent 41a721b commit f69ac54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mythtv/libs/libmythui/mythmainwindow.cpp
Expand Up @@ -521,9 +521,6 @@ MythMainWindow::MythMainWindow(const bool useDB)
d->idleTimer->setInterval(1000 * 60 * idletime); // 30 minutes
connect(d->idleTimer, SIGNAL(timeout()), SLOT(IdleTimeout()));
d->idleTimer->start();

// Will create Notification Center singleton
(void)MythUINotificationCenter::GetInstance();
}

MythMainWindow::~MythMainWindow()
Expand Down Expand Up @@ -1093,6 +1090,9 @@ void MythMainWindow::Init(QString forcedpainter)
d->m_themeBase->Reload();
else
d->m_themeBase = new MythThemeBase();

// Will create Notification Center singleton
(void)MythUINotificationCenter::GetInstance();
}

void MythMainWindow::InitKeys()
Expand Down

0 comments on commit f69ac54

Please sign in to comment.