1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Remove obsolete snow leopard check.

This commit is contained in:
John Maguire 2015-02-18 17:29:07 +01:00
parent e5508ed53c
commit 484db9d92b

View File

@ -509,10 +509,6 @@ void DumpDictionary(CFDictionaryRef dict) {
static const NSUInteger kFullScreenPrimary = 1 << 7;
void EnableFullScreen(const QWidget& main_window) {
if (QSysInfo::MacintoshVersion == QSysInfo::MV_SNOWLEOPARD) {
return; // Unsupported on 10.6
}
NSView* view = reinterpret_cast<NSView*>(main_window.winId());
NSWindow* window = [view window];
[window setCollectionBehavior:kFullScreenPrimary];