Skip to content
Snippets Groups Projects
Commit f1edb836 authored by Ulrich Kemloh's avatar Ulrich Kemloh
Browse files

fixed compilation failure on osx

parent 11cbe182
Branches
Tags
No related merge requests found
...@@ -352,7 +352,7 @@ void MainWindow::slotStartPlaying() ...@@ -352,7 +352,7 @@ void MainWindow::slotStartPlaying()
dispatch_queue_t main_q = dispatch_get_main_queue(); dispatch_queue_t main_q = dispatch_get_main_queue();
dispatch_async(main_q, ^(void){ dispatch_async(main_q, ^(void){
//visualisationThread->moveToThread(QApplication::instance()->thread()); //visualisationThread->moveToThread(QApplication::instance()->thread());
visualisationThread->run(); _visualisationThread->run();
}); });
#else #else
_visualisationThread->start(); _visualisationThread->start();
...@@ -1228,7 +1228,7 @@ void MainWindow::waitForVisioThread() ...@@ -1228,7 +1228,7 @@ void MainWindow::waitForVisioThread()
#ifdef __linux__ #ifdef __linux__
_visualisationThread->quit(); _visualisationThread->quit();
#else #else
visualisationThread->terminate(); _visualisationThread->terminate();
#endif #endif
} }
Debug::Messages("Visualisation Engine shutdown successfully"); Debug::Messages("Visualisation Engine shutdown successfully");
......
...@@ -140,7 +140,7 @@ void ThreadVisualisation::run() ...@@ -140,7 +140,7 @@ void ThreadVisualisation::run()
{ {
//deactivate the output windows //deactivate the output windows
//vtkObject::GlobalWarningDisplayOff(); vtkObject::GlobalWarningDisplayOff();
//emit signalStatusMessage("running"); //emit signalStatusMessage("running");
...@@ -264,7 +264,7 @@ void ThreadVisualisation::run() ...@@ -264,7 +264,7 @@ void ThreadVisualisation::run()
//CAUTION: this is necessary for WIN32 to update the window name //CAUTION: this is necessary for WIN32 to update the window name
// but his will freeze your system on linux // but his will freeze your system on linux
#if defined(_WIN32) || defined(__APPLE__) #if defined(_WIN32) || defined(__APPLE__)
renderWindow->Render(); _renderWindow->Render();
#endif #endif
_renderWindow->SetWindowName(_winTitle.toStdString().c_str()); _renderWindow->SetWindowName(_winTitle.toStdString().c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment