aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-04-02 18:13:02 -0400
committerKen Moore <moorekou@gmail.com>2016-04-02 18:13:02 -0400
commit52eeb74030c5b0d5aa32cd0c9fbe76ef6cc86664 (patch)
treeeb0bfce5a55eae41bebf90174d481d9bd1c0f77f /lumina-fm
parentMerge pull request #214 from q5sys/master (diff)
parentcommeting out broken resize function (diff)
downloadlumina-52eeb74030c5b0d5aa32cd0c9fbe76ef6cc86664.tar.gz
lumina-52eeb74030c5b0d5aa32cd0c9fbe76ef6cc86664.tar.bz2
lumina-52eeb74030c5b0d5aa32cd0c9fbe76ef6cc86664.zip
Merge pull request #215 from q5sys/master
fixing errors I introduced in previous commits
Diffstat (limited to 'lumina-fm')
-rw-r--r--lumina-fm/MainUI.cpp11
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());
+//}
bgstack15