diff --git a/src/plugins/coreplugin/themesettingswidget.cpp b/src/plugins/coreplugin/themesettingswidget.cpp index 2e05925e78a..f098762dc24 100644 --- a/src/plugins/coreplugin/themesettingswidget.cpp +++ b/src/plugins/coreplugin/themesettingswidget.cpp @@ -84,7 +84,7 @@ static QString createThemeFileName(const QString &pattern) struct ThemeEntry { - ThemeEntry() {} + ThemeEntry() : m_readOnly(true) {} ThemeEntry(const QString &name, const QString &filePath, bool readOnly): m_name(name), m_filePath(filePath),