mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
merged
This commit is contained in:
commit
ab81cebf92
Binary file not shown.
Binary file not shown.
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user