diff --git a/src/modules/plasmalnf/PlasmaLnfPage.cpp b/src/modules/plasmalnf/PlasmaLnfPage.cpp index a44620074..d512b1dc0 100644 --- a/src/modules/plasmalnf/PlasmaLnfPage.cpp +++ b/src/modules/plasmalnf/PlasmaLnfPage.cpp @@ -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 ) { diff --git a/src/modules/plasmalnf/PlasmaLnfPage.h b/src/modules/plasmalnf/PlasmaLnfPage.h index 287da8b29..acdf7c587 100644 --- a/src/modules/plasmalnf/PlasmaLnfPage.h +++ b/src/modules/plasmalnf/PlasmaLnfPage.h @@ -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; diff --git a/src/modules/plasmalnf/PlasmaLnfViewStep.cpp b/src/modules/plasmalnf/PlasmaLnfViewStep.cpp index d282cea09..445e5dddb 100644 --- a/src/modules/plasmalnf/PlasmaLnfViewStep.cpp +++ b/src/modules/plasmalnf/PlasmaLnfViewStep.cpp @@ -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 );