From ce039c6520839fc25c6346033b8e4cd359e023cb Mon Sep 17 00:00:00 2001 From: q5sys Date: Sat, 2 Apr 2016 10:47:29 -0400 Subject: re-added lost } during last edit --- lumina-fm/MainUI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lumina-fm') diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 2e226e12..13701c0a 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); -- cgit From 6d0d1bd178f62525177a82de7ba2681b3e32ca5e Mon Sep 17 00:00:00 2001 From: q5sys Date: Sat, 2 Apr 2016 11:17:36 -0400 Subject: commeting out broken resize function error was reported by community member. it's built fine on my system, but when building from fresh download it fails. with this commented out the project will build. I need to figure out what exactly is causing the hangup before re-enabling, but dont want to break the program in the meantime. --- lumina-fm/MainUI.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lumina-fm') diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 13701c0a..2183d0ff 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -918,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()); +//} -- cgit