mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04: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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue