[rkward-cvs] SF.net SVN: rkward: [897] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Oct 22 17:19:00 UTC 2006


Revision: 897
          http://svn.sourceforge.net/rkward/?rev=897&view=rev
Author:   tfry
Date:     2006-10-22 10:18:55 -0700 (Sun, 22 Oct 2006)

Log Message:
-----------
Show window maximized on first startup

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/rkward.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2006-10-22 17:17:53 UTC (rev 896)
+++ trunk/rkward/ChangeLog	2006-10-22 17:18:55 UTC (rev 897)
@@ -1,3 +1,6 @@
+- on startup, show window maximized if not size stored (i.e. very first startup)
+- prevent infinite recursion when parsing structure of environments
+- fix for compilation on 64bit architectures
 - remove misleading "About KDE" dialog, and replace report Bug dialog with correct information
 - don't crash when closing a detached window
 - as you type completion of R symbol names in the script editor

Modified: trunk/rkward/rkward/rkward.cpp
===================================================================
--- trunk/rkward/rkward/rkward.cpp	2006-10-22 17:17:53 UTC (rev 896)
+++ trunk/rkward/rkward/rkward.cpp	2006-10-22 17:18:55 UTC (rev 897)
@@ -389,10 +389,11 @@
 
 // TODO: WORKAROUND: Actually applyMainWindowSettings could/should do this, but apparently this just does not work for maximized windows. Therefore we use our own version instead.
 	config->setGroup("General Options");
-	QSize size=config->readSizeEntry ("Geometry");
-	if(!size.isEmpty ()) {
-		resize (size);
+	QSize size = config->readSizeEntry ("Geometry");
+	if (size.isEmpty ()) {
+		size = QApplication::desktop ()->availableGeometry ().size ();
 	}
+	resize (size);
 
 	// initialize the recent file list
 	fileOpenRecentWorkspace->loadEntries (config,"Recent Files");


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list