Commit 4fdede8b authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDebugger: Fix qDebug output

parent c3fd1292
...@@ -1127,6 +1127,7 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, QString *er ...@@ -1127,6 +1127,7 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, QString *er
m_commandWindow = new QTreeView; m_commandWindow = new QTreeView;
m_scriptConsoleWindow = new ScriptConsole; m_scriptConsoleWindow = new ScriptConsole;
m_scriptConsoleWindow->setWindowTitle(tr("QML Script Console")); m_scriptConsoleWindow->setWindowTitle(tr("QML Script Console"));
m_scriptConsoleWindow->setObjectName(QLatin1String("QMLScriptConsole"));
connect(m_scriptConsoleWindow, SIGNAL(expressionEntered(QString)), connect(m_scriptConsoleWindow, SIGNAL(expressionEntered(QString)),
SLOT(scriptExpressionEntered(QString))); SLOT(scriptExpressionEntered(QString)));
......
...@@ -609,8 +609,8 @@ QDockWidget *DebuggerUISwitcher::dockWidget(const QString &objectName) const ...@@ -609,8 +609,8 @@ QDockWidget *DebuggerUISwitcher::dockWidget(const QString &objectName) const
QDockWidget *DebuggerUISwitcher::createDockWidget(const DebuggerLanguage &language, QDockWidget *DebuggerUISwitcher::createDockWidget(const DebuggerLanguage &language,
QWidget *widget, Qt::DockWidgetArea area) QWidget *widget, Qt::DockWidgetArea area)
{ {
//qDebug() << "CREATE DOCK" << widget->objectName() << langName // qDebug() << "CREATE DOCK" << widget->objectName() << "LANGUAGE ID" << language
// << d->m_activeLanguage << "VISIBLE BY DEFAULT: " << visibleByDefault; // << "VISIBLE BY DEFAULT" << ((d->m_activeDebugLanguages & language) ? "true" : "false");
QDockWidget *dockWidget = d->m_mainWindow->addDockForWidget(widget); QDockWidget *dockWidget = d->m_mainWindow->addDockForWidget(widget);
d->m_mainWindow->addDockWidget(area, dockWidget); d->m_mainWindow->addDockWidget(area, dockWidget);
d->m_dockWidgets.append(dockWidget); d->m_dockWidgets.append(dockWidget);
......
...@@ -581,6 +581,7 @@ void InspectorUi::setupDockWidgets() ...@@ -581,6 +581,7 @@ void InspectorUi::setupDockWidgets()
QWidget *observerWidget = new QWidget; QWidget *observerWidget = new QWidget;
observerWidget->setWindowTitle(tr("QML Observer")); observerWidget->setWindowTitle(tr("QML Observer"));
observerWidget->setObjectName(QLatin1String("QMLObserver"));
QVBoxLayout *wlay = new QVBoxLayout(observerWidget); QVBoxLayout *wlay = new QVBoxLayout(observerWidget);
wlay->setMargin(0); wlay->setMargin(0);
......
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