Mercurial > projects > qtd
diff demos/shared/arthurstyle.d @ 163:ab01453c9d56
change to QObject.findChildren and code formatting
author | mwarning |
---|---|
date | Wed, 17 Jun 2009 23:21:57 +0000 |
parents | 4bbd9f3d9add |
children | 5bcfe9e7db7f |
line wrap: on
line diff
--- a/demos/shared/arthurstyle.d Wed Jun 17 22:40:56 2009 +0000 +++ b/demos/shared/arthurstyle.d Wed Jun 17 23:21:57 2009 +0000 @@ -392,7 +392,7 @@ override void polish(QWidget widget) { if (widget.layout() && cast(QGroupBox)(widget)) { - if (qFindChildren!(QGroupBox)(widget).length == 0) { + if (widget.findChildren!(QGroupBox).length == 0) { widget.layout().setWidgetSpacing(0); // Why setSpacing was renamed to setWidgetSpacing? widget.layout().setMargin(12); } else {