aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/tabsettingswidget.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2019-11-01 12:06:43 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-01-06 10:54:13 +0000
commitf6659f24dfde7d1378bc22a83ad6b19e20612926 (patch)
tree65a55a3298b7fcf1849e82d1c029dff4b18cf87c /src/plugins/texteditor/tabsettingswidget.h
parent4a00f53c17989b5eedb59967dd09fa17e229fe39 (diff)
Fix layout of the code style settings editor
Fixes: QTCREATORBUG-23227 Change-Id: I1ae650ba1e66c9444ef0d7fe17d003e5d6662b77 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/texteditor/tabsettingswidget.h')
-rw-r--r--src/plugins/texteditor/tabsettingswidget.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/texteditor/tabsettingswidget.h b/src/plugins/texteditor/tabsettingswidget.h
index 33b8ad919e..5a5206434a 100644
--- a/src/plugins/texteditor/tabsettingswidget.h
+++ b/src/plugins/texteditor/tabsettingswidget.h
@@ -27,7 +27,7 @@
#include "texteditor_global.h"
-#include <QWidget>
+#include <QGroupBox>
namespace TextEditor {
@@ -35,7 +35,7 @@ namespace Internal { namespace Ui { class TabSettingsWidget; } }
class TabSettings;
-class TEXTEDITOR_EXPORT TabSettingsWidget : public QWidget
+class TEXTEDITOR_EXPORT TabSettingsWidget : public QGroupBox
{
Q_OBJECT
@@ -50,7 +50,6 @@ public:
TabSettings tabSettings() const;
- void setFlat(bool on);
void setCodingStyleWarningVisible(bool visible);
void setTabSettings(const TextEditor::TabSettings& s);