Merge pull request #4058 from Jojo-Schmitz/feedback-tools
Move feedback-tools toolbar to the upper toolbar
This commit is contained in:
commit
33fbf4a328
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue