Commit 1f40e5b9 authored by Jan's avatar Jan

Removed deprecated screenGeometry Call

parent 2b842c89
......@@ -270,7 +270,8 @@ Core::init() {
connect( coreWidget_->logWidget_->openMeshFilterAction_,SIGNAL(toggled(bool)), this, SLOT(enableOpenMeshErrorLog(bool)) );
QRect rect = QApplication::desktop()->screenGeometry();
QScreen *screen = QGuiApplication::primaryScreen();
QRect rect = screen->geometry();
uint width = rect.width();
if ( width > 1000 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment