Merge pull request #4058 from Jojo-Schmitz/feedback-tools

Move feedback-tools toolbar to the upper toolbar
This commit is contained in:
anatoly-os 2018-10-25 14:52:30 +02:00 committed by GitHub
commit 33fbf4a328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1214,12 +1214,11 @@ MuseScore::MuseScore()
// Feedback Tool Bar
//-------------------------------
feedbackTools = new QToolBar("", this);
feedbackTools = addToolBar("");
feedbackTools->setObjectName("feedback-tools");
// Add the toolbar to the bottom and forbid to move it...
// Forbid to move or undock the toolbar...
feedbackTools->setMovable(false);
feedbackTools->setFloatable(false);
addToolBar(Qt::BottomToolBarArea, feedbackTools);
// Add a spacer to align the buttons to the right side.
QWidget* spacer = new QWidget(feedbackTools);
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);