--- 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);