Commit ec374726 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

use new KPageView::FlatList

parent 9036a5d8
Pipeline #159887 passed with stage
in 12 minutes and 9 seconds
......@@ -31,6 +31,8 @@
#include <KSharedConfig>
#include <KStandardAction>
#include <kwidgetsaddons_version.h>
#include <QCheckBox>
#include <QComboBox>
#include <QDesktopServices>
......@@ -50,6 +52,11 @@ KateConfigDialog::KateConfigDialog(KateMainWindow *parent)
setWindowTitle(i18n("Configure"));
setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Apply | QDialogButtonBox::Cancel | QDialogButtonBox::Help);
// we may have a lot of pages, we want small icons for the list
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 93, 0)
setFaceType(KPageDialog::FlatList);
#endif
// first: add the KTextEditor config pages
// rational: most people want to alter e.g. the fonts, the colors or some other editor stuff first
addEditorPages();
......
Supports Markdown
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