Commit b974c140 authored by Christoph Roick's avatar Christoph Roick
Browse files

Use static_cast of parent where type is known

parent bd6263f9
......@@ -40,7 +40,7 @@ QString DefaultDebuggerLauncher::name() const
void DefaultDebuggerLauncher::start()
{
if ( qobject_cast<DebuggerManager*>(parent())->debuggerIsRunning() ) {
if ( static_cast<DebuggerManager*>(parent())->debuggerIsRunning() ) {
qCWarning(DRKONQI_LOG) << "Another debugger is already running";
return;
}
......
Supports Markdown
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