[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kpdf/kpdf
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2004-12-10 22:17:48
Message-ID: 20041210221748.90A1C1B915 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Show the window maximized when the user opens the program for the very first time
BUG: 94851
M +6 -0 kpdf_shell.cpp 1.40
--- kdegraphics/kpdf/kpdf/kpdf_shell.cpp #1.39:1.40
@@ -39,4 +39,5 @@
#include <kparts/componentfactory.h>
#include <kio/netaccess.h>
+#include <kmainwindowiface.h>
#include <qcursor.h>
@@ -86,4 +87,9 @@ Shell::Shell()
readSettings();
+ if (!KGlobal::config()->hasGroup("MainWindow"))
+ {
+ KMainWindowInterface kmwi(this);
+ kmwi.maximize();
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic