Skip to content

Commit

Permalink
Gui: [skip ci] fix warning when opening preferences dialog in debug mode
Browse files Browse the repository at this point in the history
The warning is e.g.: QWindowsWindow::setGeometry: Unable to set geometry 570x454+1524+350 on QWidgetWindow/'Gui__Dialog__DlgPreferencesWindow
  • Loading branch information
wwmayer committed Jul 10, 2020
1 parent 7da1adc commit 14f38f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gui/DlgPreferencesImp.cpp
Expand Up @@ -303,6 +303,7 @@ void DlgPreferencesImp::applyChanges()
void DlgPreferencesImp::showEvent(QShowEvent* ev)
{
//canEmbedScrollArea = false;
this->adjustSize();
QDialog::showEvent(ev);
}

Expand Down

0 comments on commit 14f38f7

Please sign in to comment.