Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily disable Save to Cloud option for Beta release #7054

Merged
merged 1 commit into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions mscore/cloud/uploadscoredialog.cpp
Expand Up @@ -28,6 +28,10 @@ namespace Ms {

void MuseScore::showUploadScoreDialog()
{
if (MuseScore::unstable()) {
QMessageBox::warning(this, tr("Save online"), tr("Saving scores online is disabled in this unstable prerelease version of MuseScore."));
return;
}
if (!currentScore())
return;
if (!currentScore()->sanityCheck(QString())) {
Expand Down
4 changes: 4 additions & 0 deletions mscore/file.cpp
Expand Up @@ -3347,6 +3347,10 @@ static void parseSourceUrl(const QString& sourceUrl, int& uid, int& nid)

bool MuseScore::saveOnline(const QStringList& inFilePaths)
{
if (MuseScore::unstable()) {
qCritical() << qUtf8Printable(tr("Error: Saving scores online is disabled in this unstable prerelease version of MuseScore."));
return false;
}
if (!_loginManager->syncGetUser()) {
return false;
}
Expand Down