mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 03:00:43 +00:00
Add some qDebut statements for version mismatch.
This commit is contained in:
parent
d58bdc9452
commit
b943356619
@ -603,13 +603,16 @@ void Profile::LoadMachineData(ProgressDialog *progress)
|
||||
|
||||
if (loader) {
|
||||
if (mach->version() < loader->Version()) {
|
||||
qDebug() << "LoadMachineData data format error, machine version" << mach->version() << "loader version" << loader->Version();
|
||||
DataFormatError(mach);
|
||||
} else {
|
||||
try {
|
||||
mach->Load(progress);
|
||||
} catch (OldDBVersion& e) {
|
||||
qDebug() << "LoadMachineData mach->load failure, machine version" << mach->version() << "loader version" << loader->Version();
|
||||
Q_UNUSED(e)
|
||||
DataFormatError(mach);
|
||||
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user