diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-04 12:51:32 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-04 12:51:32 +0000 |
commit | d351fb848ddc75529ad3a88f6034c75a081cd0a8 (patch) | |
tree | eeddb5c37092868243eeb4c3b3c9f9ef2f8f08fa | |
parent | 6eee7ab3729619ea3cf2ed9b968965b686091c25 (diff) | |
download | navit-svn-d351fb848ddc75529ad3a88f6034c75a081cd0a8.tar.gz |
Fix:gui/qml:Made gui's main window resizeable
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@3127 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | gui/qml/gui_qml.cpp | 2 |
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(); |