mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 20:50:43 +00:00
Left out part of the last fixes
This commit is contained in:
parent
dabbbd2a52
commit
9ef0065a6d
@ -68,7 +68,7 @@ public:
|
||||
void SetType(MachineType t) { m_type=t; }
|
||||
const QString & GetClass() { return m_class; }
|
||||
const MachineType & GetType() { return m_type; }
|
||||
inline QString hexid() { return QString().sprintf("%08lx",m_id); }
|
||||
QString hexid() { return QString().sprintf("%08lx",m_id); }
|
||||
SessionID CreateSessionID() { return highest_sessionid+1; }
|
||||
const MachineID & id() { return m_id; }
|
||||
const QDate & FirstDay() { return firstday; }
|
||||
|
@ -1016,7 +1016,7 @@ void MainWindow::on_actionPurge_Current_Day_triggered()
|
||||
m=day->machine;
|
||||
QString path=PROFILE.Get("DataFolder")+QDir::separator()+m->hexid()+QDir::separator();
|
||||
|
||||
QVector<Session *>::iterator s,km=day->end();
|
||||
QVector<Session *>::iterator s;
|
||||
|
||||
for (s=day->begin();s!=day->end();s++) {
|
||||
SessionID id=(*s)->session();
|
||||
|
@ -632,7 +632,6 @@ void PreferencesDialog::resetGraphModel()
|
||||
|
||||
graphModel->appendRow(daily);
|
||||
graphModel->appendRow(overview);
|
||||
connect(graphModel,SIGNAL(itemChanged(QStandardItem*)),this,SLOT(graphModel_changed(QStandardItem*)));
|
||||
|
||||
ui->graphView->setAlternatingRowColors(true);
|
||||
|
||||
@ -725,6 +724,7 @@ void PreferencesDialog::resetGraphModel()
|
||||
oximetry->insertRow(i,items);
|
||||
}
|
||||
}
|
||||
connect(graphModel,SIGNAL(itemChanged(QStandardItem*)),this,SLOT(graphModel_changed(QStandardItem*)));
|
||||
|
||||
ui->graphView->expandAll();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user