diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-10-20 15:09:12 +0300 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-10-23 12:47:58 +0000 |
commit | c7717c204ad6e1c0738e4f7ebf7a938f916b5cb7 (patch) | |
tree | 10bd744aad8f319a5d48a0a353abf8d0586c2b07 /src/plugins/debugger/watchwindow.cpp | |
parent | 4df436f61a8e2c2f0702090cb4d2a7b57a4e0f9a (diff) | |
download | qt-creator-c7717c204ad6e1c0738e4f7ebf7a938f916b5cb7.tar.gz |
Debugger: Fix "No such slot" warning in watchers
Change-Id: Ia8994e1cb86a05571a3d41352ad5d46f0bdd351f
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/watchwindow.cpp')
-rw-r--r-- | src/plugins/debugger/watchwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 47e83a41b1..b16022dbd3 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -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)), |