Commit c7717c20 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Tobias Hunger

Debugger: Fix "No such slot" warning in watchers

Change-Id: Ia8994e1cb86a05571a3d41352ad5d46f0bdd351f
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 4df436f6
......@@ -150,6 +150,7 @@ public:
void setValidationFunction(const ValidationFunction &fn);
static ValidationFunction defaultValidationFunction();
void validate();
void onEditingFinished();
protected:
// Custom behaviour can be added here.
......@@ -172,7 +173,6 @@ protected:
private:
void iconClicked();
void onEditingFinished();
static bool validateWithValidator(FancyLineEdit *edit, QString *errorMessage);
// Unimplemented, to force the user to make a decision on
......
......@@ -1066,7 +1066,8 @@ public:
layout->addWidget(m_buttons);
setLayout(layout);
connect(m_buttons, SIGNAL(accepted()), m_lineEdit, SLOT(onEditingFinished()));
connect(m_buttons, &QDialogButtonBox::accepted,
m_lineEdit, &Utils::FancyLineEdit::onEditingFinished);
connect(m_buttons, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(m_buttons, &QDialogButtonBox::rejected, this, &QDialog::reject);
connect(m_hint, SIGNAL(linkActivated(QString)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment