Commit c3fd1292 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDebugger: Remove dead code

parent e373a628
......@@ -235,22 +235,5 @@ void ScriptConsole::appendResult(const QString& result)
m_expr.clear();
}
ScriptConsole* ScriptConsole::setupDockWidget()
{
ScriptConsole *console = new ScriptConsole;
console->setWindowTitle(tr("ECMAScript Console"));
Debugger::DebuggerUISwitcher *uiSwitcher = Debugger::DebuggerUISwitcher::instance();
QDockWidget* dockWidget = uiSwitcher->createDockWidget(Debugger::QmlLanguage,
console, Qt::BottomDockWidgetArea);
dockWidget->setObjectName(Debugger::Constants::DOCKWIDGET_QML_SCRIPTCONSOLE);
dockWidget->setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
//m_inspectorDockWidget->setTitleBarWidget(new QWidget(m_inspectorDockWidget));
return console;
}
}
}
......@@ -49,8 +49,6 @@ class ScriptConsole : public QWidget
public:
ScriptConsole(QWidget *parent = 0);
static ScriptConsole *setupDockWidget();
public slots:
void appendResult(const QString &result);
signals:
......
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