Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jul 1, 2015
1 parent aa6a74a commit 0593e5c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2815,7 +2815,8 @@ void MuseScore::play(Element* e, int pitch) const

void MuseScore::reportBug()
{
QDesktopServices::openUrl(QUrl(QString("https://musescore.org/redirect/post/bug-report?sha=%1&locale=%2").arg(revision()).arg(getLocaleISOCode()).trimmed()));
QString url = QString("https://musescore.org/redirect/post/bug-report?sha=%1&locale=%2").arg(revision()).arg(getLocaleISOCode());
QDesktopServices::openUrl(QUrl(url.trimmed()));
}

//---------------------------------------------------------
Expand All @@ -2824,7 +2825,8 @@ void MuseScore::reportBug()

void MuseScore::askForHelp()
{
QDesktopServices::openUrl(QUrl(QString("https://musescore.org/redirect/post/question?locale=").arg(getLocaleISOCode()).trimmed()));
QString url = QString("https://musescore.org/redirect/post/question?locale=%1").arg(getLocaleISOCode());
QDesktopServices::openUrl(QUrl(url.trimmed()));
}

//---------------------------------------------------------
Expand Down

0 comments on commit 0593e5c

Please sign in to comment.