mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 19:50:45 +00:00
Diagnostic changes for a future feature
This commit is contained in:
parent
7785d7fc9c
commit
751df7652a
@ -379,12 +379,11 @@ bool Session::StoreSummary()
|
|||||||
|
|
||||||
bool Session::LoadSummary()
|
bool Session::LoadSummary()
|
||||||
{
|
{
|
||||||
//static int sumcnt = 0;
|
// static int sumcnt = 0;
|
||||||
|
|
||||||
if (s_summary_loaded) return true;
|
if (s_summary_loaded) return true;
|
||||||
QString filename = s_machine->getSummariesPath() + QString().sprintf("%08lx.000", s_session);
|
QString filename = s_machine->getSummariesPath() + QString().sprintf("%08lx.000", s_session);
|
||||||
|
|
||||||
|
|
||||||
if (filename.isEmpty()) {
|
if (filename.isEmpty()) {
|
||||||
qDebug() << "Empty summary filename";
|
qDebug() << "Empty summary filename";
|
||||||
return false;
|
return false;
|
||||||
@ -398,7 +397,7 @@ bool Session::LoadSummary()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// qDebug() << "Loading" << s_machine->loaderName() << "Summary" << filename << sumcnt++;
|
// qDebug() << "Loading" << s_machine->loaderName() << "Summary" << filename << sumcnt++;
|
||||||
|
|
||||||
QDataStream in(&file);
|
QDataStream in(&file);
|
||||||
in.setVersion(QDataStream::Qt_4_6);
|
in.setVersion(QDataStream::Qt_4_6);
|
||||||
|
Loading…
Reference in New Issue
Block a user