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:
parent
e5508ed53c
commit
484db9d92b
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user