aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2012-12-14 12:24:37 +0100
committerhjk <qthjk@ovi.com>2012-12-14 13:33:43 +0100
commitda25e26145d1a102f7e2b401fcedc273ef91ddec (patch)
treef2d6c6bdea9d40f19c1b30435e9c64fb8f039abc /src
parentee1f984f8c5339e7795e362d0e9f25f000064030 (diff)
Reduce spacing in gdb options page.
Make the warning label italic, so it still stands out a bit. Task-number: QTCREATORBUG-8345 Change-Id: Ia8cb4a45817e314411b326ca9e1929e5dbe85f76 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/gdb/gdboptionspage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdboptionspage.cpp b/src/plugins/debugger/gdb/gdboptionspage.cpp
index 6861bce7a5a..32ea93c90a7 100644
--- a/src/plugins/debugger/gdb/gdboptionspage.cpp
+++ b/src/plugins/debugger/gdb/gdboptionspage.cpp
@@ -167,6 +167,9 @@ GdbOptionsPageWidget::GdbOptionsPageWidget(QWidget *parent)
"<html><head/><body>The options below give access to advanced "
"or experimental functions of GDB. Enabling them may negatively "
"impact your debugging experience.</body></html>"));
+ QFont f = labelDangerous->font();
+ f.setItalic(true);
+ labelDangerous->setFont(f);
checkBoxTargetAsync = new QCheckBox(groupBoxGeneral);
checkBoxTargetAsync->setText(GdbOptionsPage::tr(
@@ -255,7 +258,6 @@ GdbOptionsPageWidget::GdbOptionsPageWidget(QWidget *parent)
formLayout->addRow(checkBoxUseDynamicType);
formLayout->addRow(checkBoxLoadGdbInit);
formLayout->addRow(checkBoxWarnOnReleaseBuilds);
- formLayout->addRow(new QLabel(QString()));
formLayout->addRow(labelDangerous);
formLayout->addRow(checkBoxTargetAsync);
formLayout->addRow(checkBoxAutoEnrichParameters);