49 // ============================================================================= |
49 // ============================================================================= |
50 // ----------------------------------------------------------------------------- |
50 // ----------------------------------------------------------------------------- |
51 ConfigBox::ConfigBox (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f) { |
51 ConfigBox::ConfigBox (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f) { |
52 ui = new Ui_ConfigBox; |
52 ui = new Ui_ConfigBox; |
53 ui->setupUi (this); |
53 ui->setupUi (this); |
54 ui->updateProgress->hide(); |
54 |
55 ui->updateLabel->hide(); |
|
56 |
|
57 initVersions(); |
55 initVersions(); |
58 initFromSettings(); |
56 initFromSettings(); |
59 |
57 |
60 connect (ui->wad_add, SIGNAL (clicked()), this, SLOT (addPath())); |
58 connect (ui->wad_add, SIGNAL (clicked()), this, SLOT (addPath())); |
61 connect (ui->wad_pathEntry, SIGNAL (returnPressed()), this, SLOT (addPath())); |
59 connect (ui->wad_pathEntry, SIGNAL (returnPressed()), this, SLOT (addPath())); |
62 connect (ui->wad_findPath, SIGNAL (clicked()), this, SLOT (findPath())); |
60 connect (ui->wad_findPath, SIGNAL (clicked()), this, SLOT (findPath())); |
63 connect (ui->wad_del, SIGNAL (clicked()), this, SLOT (delPath())); |
61 connect (ui->wad_del, SIGNAL (clicked()), this, SLOT (delPath())); |
64 connect (ui->buttonBox, SIGNAL (clicked (QAbstractButton*)), this, |
62 connect (ui->buttonBox, SIGNAL (clicked (QAbstractButton*)), this, |