# HG changeset patch # User Santeri Piippo # Date 1369437325 -10800 # Node ID 69a842af73f79ca6ab9641a47e536202416676fc # Parent f9c48d4481e1cc87d10f11f35d408e409fb01117 Removed the Configure button from the LDraw path config dialog, it's no longer needed diff -r f9c48d4481e1 -r 69a842af73f7 src/dialogs.cpp --- a/src/dialogs.cpp Sat May 25 02:13:11 2013 +0300 +++ b/src/dialogs.cpp Sat May 25 02:15:25 2013 +0300 @@ -253,9 +253,6 @@ btn_findPath = new QPushButton; btn_findPath->setIcon (getIcon ("folder")); - btn_tryConfigure = new QPushButton ("Configure"); - btn_tryConfigure->setIcon (getIcon ("settings")); - btn_cancel = new QPushButton; if (validDefault == false) { @@ -267,7 +264,6 @@ } dbb_buttons = new QDialogButtonBox (QDialogButtonBox::Ok); - dbb_buttons->addButton (btn_tryConfigure, QDialogButtonBox::ActionRole); dbb_buttons->addButton (btn_cancel, QDialogButtonBox::RejectRole); okButton ()->setEnabled (false); @@ -288,7 +284,6 @@ connect (le_path, SIGNAL (textEdited (QString)), this, SLOT (slot_tryConfigure ())); connect (btn_findPath, SIGNAL (clicked ()), this, SLOT (slot_findPath ())); - connect (btn_tryConfigure, SIGNAL (clicked ()), this, SLOT (slot_tryConfigure ())); connect (dbb_buttons, SIGNAL (accepted ()), this, SLOT (accept ())); connect (dbb_buttons, SIGNAL (rejected ()), this, (validDefault) ? SLOT (reject ()) : SLOT (slot_exit ())); diff -r f9c48d4481e1 -r 69a842af73f7 src/dialogs.h --- a/src/dialogs.h Sat May 25 02:13:11 2013 +0300 +++ b/src/dialogs.h Sat May 25 02:15:25 2013 +0300 @@ -108,7 +108,7 @@ QLabel* lb_resolution; QLineEdit* le_path; - QPushButton* btn_findPath, *btn_tryConfigure, *btn_cancel; + QPushButton* btn_findPath, *btn_cancel; QDialogButtonBox* dbb_buttons; const bool m_validDefault;