Skip to content

Commit

Permalink
Do not recreated ThemeMetadata and ThemeConfig
Browse files Browse the repository at this point in the history
Just reload the configuration.
  • Loading branch information
plfiorini committed Aug 23, 2016
1 parent 89562cc commit 6667512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/daemon/Greeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ namespace SDDM {
m_themePath = theme;

if (theme.isEmpty()) {
m_metadata = new ThemeMetadata(QString());
m_themeConfig = new ThemeConfig(QString());
m_metadata->setTo(QString());
m_themeConfig->setTo(QString());
} else {
const QString path = QStringLiteral("%1/metadata.desktop").arg(m_themePath);
m_metadata->setTo(path);
Expand Down

0 comments on commit 6667512

Please sign in to comment.