Merge pull request #1140 from manongjohn/fix_loading_quicktoolbar

Fix loading quicktoolbar
This commit is contained in:
manongjohn 2023-02-28 17:44:28 -05:00 committed by GitHub
commit 1f1d5d0705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ CommandBar::CommandBar(QWidget *parent, Qt::WFlags flags)
m_barId = date.toString("yyyyMMddhhmmss"); m_barId = date.toString("yyyyMMddhhmmss");
} }
// Sets up default. // Sets up default.
fillToolbar(this); fillToolbar(this, m_isQuickToolbar, m_barId);
setIconSize(QSize(20, 20)); setIconSize(QSize(20, 20));
QIcon moreIcon(":Resources/more.svg"); QIcon moreIcon(":Resources/more.svg");
QToolButton *more = findChild<QToolButton *>("qt_toolbar_ext_button"); QToolButton *more = findChild<QToolButton *>("qt_toolbar_ext_button");