[rkward-cvs] SF.net SVN: rkward: [2178] branches/KDE4_port/rkward/windows/ rktoolwindowbar.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Nov 4 23:57:16 UTC 2007


Revision: 2178
          http://rkward.svn.sourceforge.net/rkward/?rev=2178&view=rev
Author:   tfry
Date:     2007-11-04 15:57:15 -0800 (Sun, 04 Nov 2007)

Log Message:
-----------
Small fix and cleanup

Modified Paths:
--------------
    branches/KDE4_port/rkward/windows/rktoolwindowbar.cpp

Modified: branches/KDE4_port/rkward/windows/rktoolwindowbar.cpp
===================================================================
--- branches/KDE4_port/rkward/windows/rktoolwindowbar.cpp	2007-11-04 23:51:54 UTC (rev 2177)
+++ branches/KDE4_port/rkward/windows/rktoolwindowbar.cpp	2007-11-04 23:57:15 UTC (rev 2178)
@@ -95,8 +95,7 @@
 	RK_TRACE (APP);
 
 	int pos = getSplitterSize ();
-	if (pos > SPLITTER_MIN_SIZE) last_known_size = pos;
-	else last_known_size = SPLITTER_MIN_SIZE;
+	if (pos >= SPLITTER_MIN_SIZE) last_known_size = pos;
 
 	if (!pos) {		// collapsed. Hide it properly.
 		for (QMap<RKMDIWindow*, int>::const_iterator it = widget_to_id.constBegin (); it != widget_to_id.constEnd (); ++it) {
@@ -199,7 +198,6 @@
 		setTab (id, true);
 		container->show ();
 		setSplitterSize (last_known_size);
-qDebug ("%d", last_known_size);
 	} else {
 		widget->topLevelWidget ()->show ();
 		widget->topLevelWidget ()->raise ();


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