diff options
-rw-r--r-- | lumina-fm/MainUI.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 2e226e12..2183d0ff 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -41,6 +41,7 @@ QSize orig = settings->value("preferences/MainWindowSize", QSize()).toSize(); if(orig.height() > screen.height()){ orig.setHeight(screen.height()); } //Now resize the window this->resize(orig); + } //initialize the non-ui widgets if(DEBUG){ qDebug() << " - Tab Bar Setup"; } tabBar = new QTabBar(this); @@ -917,8 +918,8 @@ void MainUI::CloseBrowser(QString ID){ } // ====================== -void MainUI::resizeEvent(QResizeEvent *event){ - //Save the new size internally - settings->setValue("geometry/height", event->size().height()); - settings->setValue("geometry/width", event->size().width()); -} +//void MainUI::resizeEvent(QResizeEvent *event){ +// //Save the new size internally +// settings->setValue("geometry/height", event->size().height()); +// settings->setValue("geometry/width", event->size().width()); +//} |