mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-16 02:30:45 +00:00
Merge branch 'master' into check-channel-ptr
This commit is contained in:
commit
0e1cabbad5
@ -196,12 +196,12 @@ bool migrateFromSH(QString destDir) {
|
||||
|
||||
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.
|
||||
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.") +
|
||||
"\n\n"+QObject::tr("You cannot use this folder:")+" " + datadir ), QMessageBox::Ok) {
|
||||
"\n\n"+QObject::tr("You cannot use this folder:")+" " + datadir,
|
||||
QMessageBox::Ok);
|
||||
continue; // Nope, don't use it, go around the loop again
|
||||
}
|
||||
}
|
||||
|
||||
qDebug() << "Migration folder is" << datadir;
|
||||
selectingFolder = false;
|
||||
|
Loading…
Reference in New Issue
Block a user