Set by default for Windows Fusion style

This commit is contained in:
defnax 2020-04-30 15:17:22 +02:00
parent 738029f96a
commit 5091977979

View File

@ -113,10 +113,10 @@ void RshareSettings::initSettings()
#else
static QStringList styles = QStyleFactory::keys();
#if defined(Q_OS_WIN)
if (styles.contains("windowsvista", Qt::CaseInsensitive))
if (styles.contains("Fusion", Qt::CaseInsensitive))
setDefault(SETTING_STYLE, "Fusion");
else if (styles.contains("windowsvista", Qt::CaseInsensitive))
setDefault(SETTING_STYLE, "windowsvista");
else if (styles.contains("windowsxp", Qt::CaseInsensitive))
setDefault(SETTING_STYLE, "windowsxp");
else
#endif
{