zz_configDialog.cpp

changeset 39
110669124caf
parent 34
d99006de6261
child 47
9dd536c1ce39
--- a/zz_configDialog.cpp	Tue Mar 19 18:25:08 2013 +0200
+++ b/zz_configDialog.cpp	Tue Mar 19 21:52:38 2013 +0200
@@ -53,9 +53,7 @@
 	connect (qGLForegroundButton, SIGNAL (clicked ()),
 		this, SLOT (slot_setGLForeground ()));
 	
-	qButtons = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
-	connect (qButtons, SIGNAL (accepted ()), this, SLOT (accept ()));
-	connect (qButtons, SIGNAL (rejected ()), this, SLOT (reject ()));
+	IMPLEMENT_DIALOG_BUTTONS
 	
 	QGridLayout* layout = new QGridLayout;
 	layout->addWidget (qLDrawPathLabel, 0, 0);

mercurial