mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Use the native macos toolbar depending on the theme.
This commit is contained in:
parent
a3024a1bee
commit
176565d78c
@ -179,11 +179,11 @@ void LibraryWindow::doLayout()
|
||||
editInfoToolBar = new QToolBar();
|
||||
editInfoToolBar->setStyleSheet("QToolBar {border: none;}");
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
libraryToolBar = new YACReaderMacOSXToolbar(this);
|
||||
#else
|
||||
libraryToolBar = new YACReaderMainToolBar(this);
|
||||
#endif
|
||||
if (theme.isMacosNative) {
|
||||
libraryToolBar = new YACReaderMacOSXToolbar(this);
|
||||
} else {
|
||||
libraryToolBar = new YACReaderMainToolBar(this);
|
||||
}
|
||||
|
||||
#ifndef NO_OPENGL
|
||||
//FLOW-----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user