Skip to content

Commit

Permalink
fix #38151: Repaint / Refresh issue of the score on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Feb 18, 2015
1 parent 5bee9c7 commit 5bf0f10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mscore/scoreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,9 @@ ScoreView::ScoreView(QWidget* parent)
: QWidget(parent)
{
setAcceptDrops(true);
#ifndef Q_OS_MAC
setAttribute(Qt::WA_OpaquePaintEvent);
#endif
setAttribute(Qt::WA_NoSystemBackground);
setFocusPolicy(Qt::ClickFocus);
setAttribute(Qt::WA_InputMethodEnabled);
Expand Down

0 comments on commit 5bf0f10

Please sign in to comment.