|
From: | Max Brister |
Subject: | [Octave-bug-tracker] [bug #37319] Sizes of dock-widgets are not correctly restored when GUI starts maximized |
Date: | Tue, 11 Sep 2012 07:54:07 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 |
Follow-up Comment #2, bug #37319 (project octave): Ok, never mind my previous comment. I think I see why that's a bad idea now. I applied your patch with a few changes. Normally we try to avoid lines like qobject_cast<QWidget *>(widget)->restoreGeometry (settings->value(widget->objectName ()).toByteArray ()); and instead do only one function call per line. http://hg.savannah.gnu.org/hgweb/octave/rev/450fedd44176 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37319> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |