refs #335, renamed enums in Application context

component means something different in GUI, renamed to application
This commit is contained in:
Klaus Basan
2014-10-10 01:42:07 +02:00
committed by Roland Winklmeier
parent 678cc2e0cc
commit 5eaaf70fcd
3 changed files with 12 additions and 10 deletions

View File

@@ -65,11 +65,13 @@ MainWindow::~MainWindow()
*/
void MainWindow::gracefulShutdown()
{
if (!this->m_init) return;
if (!this->m_init) { return; }
this->m_init = false;
if (this->getIContextApplication())
this->getIContextApplication()->notifyAboutComponentChange(IContextApplication::ComponentGui, IContextApplication::ActionStops);
{
this->getIContextApplication()->notifyAboutComponentChange(IContextApplication::ApplicationGui, IContextApplication::ApplicationStops);
}
// close info window
if (this->m_compInfoWindow)