fixed switch views item and removed fullscreen toogle item from YACReaderLibrary in MacOSX

This commit is contained in:
Luis Ángel San Martín
2014-11-06 21:11:26 +01:00
parent 6b4225d2ec
commit 33e022de5e
4 changed files with 44 additions and 4 deletions

View File

@ -44,8 +44,11 @@ public:
void hide();
QMap<QString, QAction *> actions;
//hacks everywhere
//convenience method for YACReaderLibrary search edit
YACReaderMacOSXSearchLineEdit *addSearchEdit();
//convenience method for switching the icon of the view selector
void updateViewSelectorIcon(const QIcon & icon);
signals:
@ -55,7 +58,7 @@ protected:
NSToolbar * nativeToolBar;
void *delegate;
bool yosemite;
QMacToolBarItem * viewSelector;
};