diff options
author | hjk <hjk@theqtcompany.com> | 2016-04-19 22:49:23 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-05-12 15:08:16 +0000 |
commit | 60f092f6bb0b3ba76cc227bda94ca9e4ad84eaa0 (patch) | |
tree | 10700513b89cc9b60162d97a9f679bac002eec02 /src/plugins/debugger/logwindow.cpp | |
parent | 3b83b8b989c4b7c943e848ffbae40b7a681b32ab (diff) |
Debugger: Cosmetics
Qt 5 connects, unused declaration, QLatin1Strings, ...
Change-Id: If09929993d750907ee3f4e2fa9f18acfcc28d9c1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/logwindow.cpp')
-rw-r--r-- | src/plugins/debugger/logwindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/debugger/logwindow.cpp b/src/plugins/debugger/logwindow.cpp index be79d31790..e30d05c2ca 100644 --- a/src/plugins/debugger/logwindow.cpp +++ b/src/plugins/debugger/logwindow.cpp @@ -414,14 +414,14 @@ LogWindow::LogWindow(QWidget *parent) aggregate->add(m_inputText); aggregate->add(new Core::BaseTextFind(m_inputText)); - connect(m_inputText, SIGNAL(statusMessageRequested(QString,int)), - SIGNAL(statusMessageRequested(QString,int))); - connect(m_inputText, SIGNAL(commandSelected(int)), - m_combinedText, SLOT(gotoResult(int))); + connect(m_inputText, &InputPane::statusMessageRequested, + this, &LogWindow::statusMessageRequested); + connect(m_inputText, &InputPane::commandSelected, + m_combinedText, &CombinedPane::gotoResult); connect(m_commandEdit, &QLineEdit::returnPressed, this, &LogWindow::sendCommand); - connect(m_inputText, SIGNAL(executeLineRequested()), - SLOT(executeLine())); + connect(m_inputText, &InputPane::executeLineRequested, + this, &LogWindow::executeLine); connect(repeatButton, &QAbstractButton::clicked, this, &LogWindow::repeatLastCommand); |