Merge branch 'master' into check-channel-ptr

This commit is contained in:
Phil Olynyk 2020-04-30 12:47:08 -04:00
commit 0e1cabbad5

View File

@ -196,11 +196,11 @@ bool migrateFromSH(QString destDir) {
if (!file.exists() || !dirP.exists()) { // It doesn't have a Preferences.xml file or a Profiles directory in it if (!file.exists() || !dirP.exists()) { // It doesn't have a Preferences.xml file or a Profiles directory in it
// Not a new directory.. nag the user. // Not a new directory.. nag the user.
if (QMessageBox::warning(nullptr, STR_MessageBox_Error, QMessageBox::warning(nullptr, STR_MessageBox_Error,
QObject::tr("The folder you chose does not contain valid SleepyHead data.") + QObject::tr("The folder you chose does not contain valid SleepyHead data.") +
"\n\n"+QObject::tr("You cannot use this folder:")+" " + datadir ), QMessageBox::Ok) { "\n\n"+QObject::tr("You cannot use this folder:")+" " + datadir,
continue; // Nope, don't use it, go around the loop again QMessageBox::Ok);
} continue; // Nope, don't use it, go around the loop again
} }
qDebug() << "Migration folder is" << datadir; qDebug() << "Migration folder is" << datadir;