This commit is contained in:
Luis Ángel San Martín 2014-11-15 14:00:11 +01:00
commit ab81cebf92
3 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -170,7 +170,10 @@ YACReaderMacOSXToolbar::YACReaderMacOSXToolbar(QObject *parent)
if([nswindow respondsToSelector:@selector(setTitleVisibility:)])
{
yosemite = true;
[nswindow setTitleVisibility:1];
//TODO yosemite new constants are not found in compilation time
[nswindow setTitleVisibility:1]; //NSWindowTitleHidden
//TODO NSFullSizeContentViewWindowMask produces an offset in the windows' content
//nswindow.styleMask |= 1 << 15; // NSFullSizeContentViewWindowMask;
[nativeToolBar setSizeMode:NSToolbarSizeModeSmall]; //TODO figure out how to load specific images in Yosemite
}else
{