[plasmalnf] Remove unused path-setting from the widget
- Only Config needs to know the path, since it is responsible for doing the actual lnf changes.
This commit is contained in:
parent
a19109ed0b
commit
27f1e82a8f
@ -72,12 +72,6 @@ PlasmaLnfPage::PlasmaLnfPage( QWidget* parent )
|
||||
} )
|
||||
}
|
||||
|
||||
void
|
||||
PlasmaLnfPage::setLnfPath( const QString& path )
|
||||
{
|
||||
m_lnfPath = path;
|
||||
}
|
||||
|
||||
void
|
||||
PlasmaLnfPage::setEnabledThemes( const ThemeInfoList& themes, bool showAll )
|
||||
{
|
||||
|
@ -36,7 +36,6 @@ class PlasmaLnfPage : public QWidget
|
||||
public:
|
||||
explicit PlasmaLnfPage( QWidget* parent = nullptr );
|
||||
|
||||
void setLnfPath( const QString& path );
|
||||
/** @brief enable only the listed themes.
|
||||
*
|
||||
* Shows the listed @p themes with full information (e.g. screenshot).
|
||||
@ -61,7 +60,6 @@ private:
|
||||
void fillUi();
|
||||
|
||||
Ui::PlasmaLnfPage* ui;
|
||||
QString m_lnfPath;
|
||||
QString m_preselect;
|
||||
bool m_showAll; // If true, don't winnow according to enabledThemes
|
||||
ThemeInfoList m_enabledThemes;
|
||||
|
@ -98,7 +98,6 @@ PlasmaLnfViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
||||
{
|
||||
m_config->setConfigurationMap( configurationMap );
|
||||
|
||||
m_widget->setLnfPath( m_config->lnfToolPath() );
|
||||
m_widget->setPreselect( m_config->preselectedTheme() );
|
||||
|
||||
bool showAll = CalamaresUtils::getBool( configurationMap, "showAll", false );
|
||||
|
Loading…
Reference in New Issue
Block a user