Commit 70ef8c62 authored by Kai Koehne's avatar Kai Koehne
Browse files

Debugger: Fix QObject::connect warning

Fix QObject::connect warning about incompatible sender/receiver
arguments
parent 7c365061
......@@ -27,7 +27,7 @@ DebuggerLanguageChooser::DebuggerLanguageChooser(QWidget *parent) :
connect(m_useQmlDebugger, SIGNAL(toggled(bool)), m_debugServerPort, SLOT(setEnabled(bool)));
connect(m_useQmlDebugger, SIGNAL(toggled(bool)), m_debugServerPortLabel, SLOT(setEnabled(bool)));
connect(m_debugServerPort, SIGNAL(valueChanged(int)), this, SIGNAL(qmlDebugServerPortChanged(uint)));
connect(m_debugServerPort, SIGNAL(valueChanged(int)), this, SLOT(onDebugServerPortChanged(int)));
QHBoxLayout *qmlLayout = new QHBoxLayout;
qmlLayout->setMargin(0);
......@@ -90,4 +90,9 @@ void DebuggerLanguageChooser::useQmlDebuggerToggled(bool toggled)
m_useCppDebugger->setChecked(true);
}
void DebuggerLanguageChooser::onDebugServerPortChanged(int port)
{
emit qmlDebugServerPortChanged((uint)port);
}
} // namespace Utils
......@@ -32,6 +32,7 @@ signals:
private slots:
void useCppDebuggerToggled(bool toggled);
void useQmlDebuggerToggled(bool toggled);
void onDebugServerPortChanged(int port);
private:
QCheckBox *m_useCppDebugger;
......
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