diff options
author | Ken Moore <moorekou@gmail.com> | 2016-04-02 18:13:02 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-04-02 18:13:02 -0400 |
commit | 52eeb74030c5b0d5aa32cd0c9fbe76ef6cc86664 (patch) | |
tree | eb0bfce5a55eae41bebf90174d481d9bd1c0f77f /lumina-fm | |
parent | Merge pull request #214 from q5sys/master (diff) | |
parent | commeting out broken resize function (diff) | |
download | lumina-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.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()); +//} |