[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Wed Sep 26 17:33:48 CEST 2007
SVN commit 717302 by fenton:
Reducing code complexity on hide/show of widget extension.
M +1 -4 datadialog.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/datadialog.cpp #717301:717302
@@ -106,10 +106,7 @@
void DataDialog::slotEditMultiple() {
- if (extensionWidget()->isVisible())
- extensionWidget()->hide();
- else
- extensionWidget()->show();
+ extensionWidget()->setVisible(extensionWidget()->isVisible());
}
More information about the Kst
mailing list