diff options
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp b/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp index d1cdffc..5cf68b6 100644 --- a/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp +++ b/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp @@ -102,7 +102,7 @@ public: inputEdit = new InputEdit(); QHBoxLayout *hbox = new QHBoxLayout(this); hbox->setSpacing(0); - hbox->setMargin(0); + hbox->setContentsMargins(0, 0, 0, 0); hbox->addWidget(promptLabel); hbox->addWidget(inputEdit); @@ -323,7 +323,7 @@ QScriptDebuggerConsoleWidget::QScriptDebuggerConsoleWidget(QWidget *parent) d->outputEdit = new QScriptDebuggerConsoleWidgetOutputEdit(); QVBoxLayout *vbox = new QVBoxLayout(this); vbox->setSpacing(0); - vbox->setMargin(0); + vbox->setContentsMargins(0, 0, 0, 0); vbox->addWidget(d->outputEdit); vbox->addWidget(d->commandLine); |