diff examples/layouts/dynamiclayouts/dialog.d @ 337:5896535a03cd

moved enums back to classes
author maxter <spambox@d-coding.com>
date Sat, 13 Mar 2010 00:38:42 +0200
parents 7a3c43424dca
children 185df9220ea7
line wrap: on
line diff
--- a/examples/layouts/dynamiclayouts/dialog.d	Thu Feb 11 12:59:25 2010 +0200
+++ b/examples/layouts/dynamiclayouts/dialog.d	Sat Mar 13 00:38:42 2010 +0200
@@ -96,7 +96,7 @@
 		buttonBox.setOrientation(orientation);
 		QSize newSizeHint = buttonBox.sizeHint() + QSize(spacing, spacing);
 
-		if (orientation == Qt_Orientation.Horizontal) {
+		if (orientation == Qt.Orientation.Horizontal) {
 			mainLayout.addWidget(buttonBox, 2, 0);
 			resize(size() + QSize(-1 * oldSizeHint.width(), newSizeHint.height()));
 		} else {