Changeset View
Changeset View
Standalone View
Standalone View
src/settings/general/behaviorsettingspage.cpp
Show All 28 Lines | |||||
29 | #include <QRadioButton> | 29 | #include <QRadioButton> | ||
30 | #include <QVBoxLayout> | 30 | #include <QVBoxLayout> | ||
31 | 31 | | |||
32 | #include <views/viewproperties.h> | 32 | #include <views/viewproperties.h> | ||
33 | 33 | | |||
34 | BehaviorSettingsPage::BehaviorSettingsPage(const QUrl& url, QWidget* parent) : | 34 | BehaviorSettingsPage::BehaviorSettingsPage(const QUrl& url, QWidget* parent) : | ||
35 | SettingsPageBase(parent), | 35 | SettingsPageBase(parent), | ||
36 | m_url(url), | 36 | m_url(url), | ||
37 | m_localViewProps(0), | 37 | m_localViewProps(nullptr), | ||
38 | m_globalViewProps(0), | 38 | m_globalViewProps(nullptr), | ||
39 | m_showToolTips(0), | 39 | m_showToolTips(nullptr), | ||
40 | m_showSelectionToggle(0), | 40 | m_showSelectionToggle(nullptr), | ||
41 | m_naturalSorting(0), | 41 | m_naturalSorting(nullptr), | ||
42 | m_caseSensitiveSorting(0), | 42 | m_caseSensitiveSorting(nullptr), | ||
43 | m_caseInsensitiveSorting(0), | 43 | m_caseInsensitiveSorting(nullptr), | ||
44 | m_renameInline(0), | 44 | m_renameInline(nullptr), | ||
45 | m_useTabForSplitViewSwitch(0) | 45 | m_useTabForSplitViewSwitch(nullptr) | ||
46 | { | 46 | { | ||
47 | QVBoxLayout* topLayout = new QVBoxLayout(this); | 47 | QVBoxLayout* topLayout = new QVBoxLayout(this); | ||
48 | 48 | | |||
49 | // View properties | 49 | // View properties | ||
50 | QGroupBox* viewPropsBox = new QGroupBox(i18nc("@title:group", "View"), this); | 50 | QGroupBox* viewPropsBox = new QGroupBox(i18nc("@title:group", "View"), this); | ||
51 | viewPropsBox->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); | 51 | viewPropsBox->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); | ||
52 | 52 | | |||
53 | m_localViewProps = new QRadioButton(i18nc("@option:radio", "Remember properties for each folder"), viewPropsBox); | 53 | m_localViewProps = new QRadioButton(i18nc("@option:radio", "Remember properties for each folder"), viewPropsBox); | ||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |