mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-23 08:19:57 -05:00
Merge pull request #1895 from defnax/set-default-style-for-Windows-to-Fusion
Set by default for Windows Fusion style
This commit is contained in:
commit
71f8dc2105
@ -113,10 +113,10 @@ void RshareSettings::initSettings()
|
|||||||
#else
|
#else
|
||||||
static QStringList styles = QStyleFactory::keys();
|
static QStringList styles = QStyleFactory::keys();
|
||||||
#if defined(Q_OS_WIN)
|
#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");
|
setDefault(SETTING_STYLE, "windowsvista");
|
||||||
else if (styles.contains("windowsxp", Qt::CaseInsensitive))
|
|
||||||
setDefault(SETTING_STYLE, "windowsxp");
|
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user