mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
QMacToolBar is not available in Qt6
This commit adds new qt pure versions of the mac toolbar to be used in qt6.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
450d3c18b2
commit
e026f25617
@ -922,9 +922,6 @@ void LibraryWindow::createToolBars()
|
||||
libraryToolBar->addSpace(10);
|
||||
|
||||
libraryToolBar->addAction(toggleComicsViewAction);
|
||||
#ifndef Q_OS_MAC
|
||||
libraryToolBar->addAction(toggleFullScreenAction);
|
||||
#endif
|
||||
|
||||
libraryToolBar->addStretch();
|
||||
|
||||
@ -935,7 +932,7 @@ void LibraryWindow::createToolBars()
|
||||
|
||||
// libraryToolBar->setMovable(false);
|
||||
|
||||
libraryToolBar->attachToWindow(this->windowHandle());
|
||||
libraryToolBar->attachToWindow(this);
|
||||
|
||||
#else
|
||||
libraryToolBar->backButton->setDefaultAction(backAction);
|
||||
|
Reference in New Issue
Block a user