[rkward-cvs] SF.net SVN: rkward:[3698] trunk/rkward/rkward/plugin/rkstandardcomponentgui .cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Jun 23 18:37:21 UTC 2011
Revision: 3698
http://rkward.svn.sourceforge.net/rkward/?rev=3698&view=rev
Author: tfry
Date: 2011-06-23 18:37:21 +0000 (Thu, 23 Jun 2011)
Log Message:
-----------
Better version of r3697
Modified Paths:
--------------
trunk/rkward/rkward/plugin/rkstandardcomponentgui.cpp
Modified: trunk/rkward/rkward/plugin/rkstandardcomponentgui.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rkstandardcomponentgui.cpp 2011-06-23 18:29:39 UTC (rev 3697)
+++ trunk/rkward/rkward/plugin/rkstandardcomponentgui.cpp 2011-06-23 18:37:21 UTC (rev 3698)
@@ -64,9 +64,6 @@
KActionCollection *action_collection = new KActionCollection (this);
action_collection->addAction (KStandardAction::Copy, this, SLOT (copyCode()));
}
-
- // HACK: Workaround for this issue (caused by a mysterious Qt bug, apparently): http://www.mail-archive.com/rkward-devel@lists.sourceforge.net/msg01340.html
- setMinimumSize (QSize (50, 50));
}
RKStandardComponentGUI::~RKStandardComponentGUI () {
@@ -147,6 +144,10 @@
QWidget::showEvent (e);
+ // HACK: Workaround for this issue (caused by a mysterious Qt bug, apparently): http://www.mail-archive.com/rkward-devel@lists.sourceforge.net/msg01340.html
+ QSize min = minimumSize ();
+ setMinimumSize (min.expandedTo (QSize (50, 50)));
+
if (toggle_code_button) { // this is a dialog, not wizard
QTimer::singleShot (0, this, SLOT (toggleCode ()));
}
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