diff demos/browser/settings.d @ 113:8636c819ce4d

more porting
author mandel
date Wed, 03 Jun 2009 14:35:25 +0000
parents dcd36d8db2da
children
line wrap: on
line diff
--- a/demos/browser/settings.d	Mon Jun 01 23:47:30 2009 +0000
+++ b/demos/browser/settings.d	Wed Jun 03 14:35:25 2009 +0000
@@ -59,14 +59,14 @@
 
 class SettingsDialog : public QDialog //, public Ui_Settings
 {
-	Settings ui;
+	mixin Ui_Settings;
 
 public:
 	
 	this(QWidget parent = null)
 	{
 		super(this);
-		ui.setupUi(this);
+		setupUi(this);
 		exceptionsButton.clicked.connect(&this.showExceptions);
 		setHomeToCurrentPageButton.clicked.connect(&this.setHomeToCurrentPage);
 		cookiesButton.clicked.connect(&this.showCookies());