Skip to content

Commit

Permalink
fix #35601
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Nov 17, 2014
1 parent a9020ee commit f53ca60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libmscore/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ void Score::doLayout()

if (_staves.isEmpty() || first() == 0) {
// score is empty
qDeleteAll(_pages);
// qDeleteAll(_pages);
_pages.clear();

Page* page = addPage();
Expand Down
2 changes: 1 addition & 1 deletion mscore/shortcut.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static const int KEYSEQ_SIZE = 4;

class Shortcut {
MsWidget _assignedWidget; //! the widget where the action will be assigned
int _state; //! shortcut is valid in this Mscore state
int _state { 0 }; //! shortcut is valid in this Mscore state
QByteArray _key; //! xml tag name for configuration file
QByteArray _descr; //! descriptor, shown in editor
QByteArray _text; //! text as shown on buttons or menus
Expand Down

0 comments on commit f53ca60

Please sign in to comment.