1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 09:55:55 +00:00

Set "Show splash screen on start up" option default to off

This commit is contained in:
Chocobo1 2016-02-07 10:48:51 +08:00
parent 48d2beece5
commit a667f900c5

View File

@ -335,7 +335,7 @@ void Preferences::setStartMinimized(bool b)
bool Preferences::isSplashScreenDisabled() const bool Preferences::isSplashScreenDisabled() const
{ {
return value("Preferences/General/NoSplashScreen", false).toBool(); return value("Preferences/General/NoSplashScreen", true).toBool();
} }
void Preferences::setSplashScreenDisabled(bool b) void Preferences::setSplashScreenDisabled(bool b)
@ -1900,7 +1900,7 @@ bool Preferences::isTorrentFileAssocSet()
CFStringRef myBundleId = CFBundleGetIdentifier(CFBundleGetMainBundle()); CFStringRef myBundleId = CFBundleGetIdentifier(CFBundleGetMainBundle());
isSet = CFStringCompare(myBundleId, defaultHandlerId, 0) == kCFCompareEqualTo; isSet = CFStringCompare(myBundleId, defaultHandlerId, 0) == kCFCompareEqualTo;
CFRelease(defaultHandlerId); CFRelease(defaultHandlerId);
} }
CFRelease(torrentId); CFRelease(torrentId);
} }
return isSet; return isSet;