mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-04 17:30:55 +00:00
GeneralViewSettingsPage: Initialize variables in header, avoid unused variable depending on config
This commit is contained in:
parent
f22530d446
commit
5e74b4c017
|
@ -19,11 +19,6 @@
|
|||
GeneralViewSettingsPage::GeneralViewSettingsPage(const QUrl &url, QWidget *parent)
|
||||
: SettingsPageBase(parent)
|
||||
, m_url(url)
|
||||
, m_localViewProps(nullptr)
|
||||
, m_globalViewProps(nullptr)
|
||||
, m_showToolTips(nullptr)
|
||||
, m_showSelectionToggle(nullptr)
|
||||
, m_renameInline(nullptr)
|
||||
{
|
||||
QFormLayout *topLayout = new QFormLayout(this);
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef GENERALVIEWSETTINGSPAGE_H
|
||||
#define GENERALVIEWSETTINGSPAGE_H
|
||||
|
||||
#include "config-dolphin.h"
|
||||
#include "settings/settingspagebase.h"
|
||||
#include <qradiobutton.h>
|
||||
|
||||
|
@ -37,14 +38,15 @@ private:
|
|||
|
||||
private:
|
||||
QUrl m_url;
|
||||
QRadioButton *m_localViewProps;
|
||||
QRadioButton *m_globalViewProps;
|
||||
QCheckBox *m_showToolTips;
|
||||
QLabel *m_configureToolTips;
|
||||
QCheckBox *m_showSelectionToggle;
|
||||
QCheckBox *m_renameInline;
|
||||
QCheckBox *m_openArchivesAsFolder;
|
||||
QCheckBox *m_autoExpandFolders;
|
||||
QRadioButton *m_localViewProps = nullptr;
|
||||
QRadioButton *m_globalViewProps = nullptr;
|
||||
#if HAVE_BALOO
|
||||
QCheckBox *m_showToolTips = nullptr;
|
||||
#endif
|
||||
QCheckBox *m_showSelectionToggle = nullptr;
|
||||
QCheckBox *m_renameInline = nullptr;
|
||||
QCheckBox *m_openArchivesAsFolder = nullptr;
|
||||
QCheckBox *m_autoExpandFolders = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user