Commit 3d4c7abf authored by con's avatar con
Browse files

Unnecessary code.

Don't ask how this could still be there ;)
parent abdf35a8
......@@ -234,12 +234,6 @@ int main(int argc, char **argv)
#ifdef Q_OS_MAC
// because QLocale's system locale is basically useless on the Mac.
// Try to get the real system setting via core foundation
CFLocaleRef maclocale = CFLocaleCopyCurrent();
CFTypeRef value = CFLocaleGetValue(maclocale, kCFLocaleLanguageCode);
QString preferredLanguage = stringFromCFString(CFStringRef(value));
if (!preferredLanguage.isEmpty())
locale = preferredLanguage;
CFArrayRef languages = (CFArrayRef)CFPreferencesCopyValue(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment