summaryrefslogtreecommitdiff
path: root/gui/qml/gui_qml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/gui_qml.cpp')
-rw-r--r--gui/qml/gui_qml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/qml/gui_qml.cpp b/gui/qml/gui_qml.cpp
index 4d02aa05..7fb6ced6 100644
--- a/gui/qml/gui_qml.cpp
+++ b/gui/qml/gui_qml.cpp
@@ -202,7 +202,7 @@ static int gui_qml_set_graphics(struct gui_priv *this_, struct graphics *gra)
this_->switcherWidget = new QStackedWidget(this_->mainWindow);
this_->mainWindow = new NGQMainWindow(this_, NULL);
if ( this_->w && this_->h ) {
- this_->mainWindow->setFixedSize(this_->w,this_->h);
+ this_->mainWindow->resize(this_->w,this_->h);
}
if ( this_->fullscreen ) {
this_->mainWindow->showFullScreen();