forked from qt-creator/qt-creator
debugger: structural cleanup remote debugging
Use virtual function instead of if/qobject_cast cascades.
This commit is contained in:
@@ -145,5 +145,16 @@ void AbstractGdbAdapter::showMessage(const QString &msg, int channel, int timeou
|
||||
m_engine->showMessage(msg, channel, timeout);
|
||||
}
|
||||
|
||||
void AbstractGdbAdapter::handleRemoteSetupDone(int gdbServerPort, int qmlPort)
|
||||
{
|
||||
Q_UNUSED(gdbServerPort);
|
||||
Q_UNUSED(qmlPort);
|
||||
}
|
||||
|
||||
void AbstractGdbAdapter::handleRemoteSetupFailed(const QString &reason)
|
||||
{
|
||||
Q_UNUSED(reason);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
Reference in New Issue
Block a user