Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
70ef8c62
Commit
70ef8c62
authored
Sep 03, 2010
by
Kai Koehne
Browse files
Debugger: Fix QObject::connect warning
Fix QObject::connect warning about incompatible sender/receiver arguments
parent
7c365061
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/debuggerlanguagechooser.cpp
View file @
70ef8c62
...
...
@@ -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
,
S
IGNAL
(
qml
DebugServerPortChanged
(
u
int
)));
connect
(
m_debugServerPort
,
SIGNAL
(
valueChanged
(
int
)),
this
,
S
LOT
(
on
DebugServerPortChanged
(
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
src/libs/utils/debuggerlanguagechooser.h
View file @
70ef8c62
...
...
@@ -32,6 +32,7 @@ signals:
private
slots
:
void
useCppDebuggerToggled
(
bool
toggled
);
void
useQmlDebuggerToggled
(
bool
toggled
);
void
onDebugServerPortChanged
(
int
port
);
private:
QCheckBox
*
m_useCppDebugger
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment