Fixing window size on El Captain

Guido Lerch guido.lerch at gmail.com
Fri Oct 9 05:22:24 PDT 2015


-- 
Best regards,
Guido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151009/6e629a34/attachment.html>
-------------- next part --------------
From b2c032fd10b53119b06ce2b14597f17db6beff6f Mon Sep 17 00:00:00 2001
From: Guido Lerch <guido.lerch at gmail.com>
Date: Fri, 9 Oct 2015 14:20:12 +0200
Subject: [PATCH] Fixing Windows size on El Captain

Bug-fix to properly restore the windows size, this was reported by
a few people that upgraded to El Captain. I am not sure whether
this fix is needed for Yosemite as well.

Signed-off-by: Guido Lerch <guido.lerch at gmail.com>
---
 qt-ui/mainwindow.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 084c9f1..7a1785a 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -1110,6 +1110,7 @@ void MainWindow::initialUiSetup()
 		break;
 	}
 	settings.endGroup();
+	show();
 }
 
 const char *getSetting(QSettings &s, QString name)
-- 
2.3.8 (Apple Git-58)



More information about the subsurface mailing list