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:
parent
48d2beece5
commit
a667f900c5
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user