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
Marco Bubke
flatpak-qt-creator
Commits
f88b9d5a
Commit
f88b9d5a
authored
May 12, 2010
by
Robert Loehning
Browse files
Avoid warning about failing connection.
parent
b6fb8bba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/cdb/cdbdebugengine.cpp
View file @
f88b9d5a
...
...
@@ -1578,11 +1578,12 @@ IDebuggerEngine *createCdbEngine(DebuggerManager *parent,
// Create engine
QString
errorMessage
;
IDebuggerEngine
*
engine
=
CdbDebugEngine
::
create
(
parent
,
options
,
&
errorMessage
);
if
(
!
engine
)
{
if
(
engine
)
{
QObject
::
connect
(
optionsPage
,
SIGNAL
(
debuggerPathsChanged
()),
engine
,
SLOT
(
syncDebuggerPaths
()));
}
else
{
optionsPage
->
setFailureMessage
(
errorMessage
);
qWarning
(
"%s
\n
"
,
qPrintable
(
errorMessage
));
}
QObject
::
connect
(
optionsPage
,
SIGNAL
(
debuggerPathsChanged
()),
engine
,
SLOT
(
syncDebuggerPaths
()));
return
engine
;
}
...
...
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