Merge commit '1484a5e9334b9ef5ac6eca69a78ca926ddbd88c8'

This commit is contained in:
Mark Watkins 2016-01-05 16:00:30 +10:00
commit 1e20707edf
4 changed files with 5 additions and 5 deletions

View File

@ -139,8 +139,8 @@ class gLineChart: public Layer
layer->m_report_empty = m_report_empty;
layer->m_square_plot = m_square_plot;
layer->m_disable_accel = m_disable_accel;
layer->subtract_offset = layer->subtract_offset;
layer->m_codes = layer->m_codes;
layer->subtract_offset = subtract_offset;
layer->m_codes = m_codes;
layer->m_threshold = m_threshold;
layer->m_square = m_square;
layer->m_enabled = m_enabled;

View File

@ -134,7 +134,7 @@ int FPIconLoader::Open(QString path)
if (m) {
c+=OpenMachine(m, npath);
}
} catch (OneTypePerDay e) {
} catch (OneTypePerDay& e) {
Q_UNUSED(e)
p_profile->DelMachine(m);
MachList.erase(MachList.find(info.serial));

View File

@ -581,7 +581,7 @@ void Profile::LoadMachineData()
} else {
try {
m->Load();
} catch (OldDBVersion e) {
} catch (OldDBVersion& e) {
Q_UNUSED(e)
DataFormatError(m);
}

View File

@ -490,8 +490,8 @@ void loadChannels()
void MainWindow::on_aboutToQuit()
{
Notify(QObject::tr("Don't forget to place your datacard back in your CPAP machine"), QObject::tr("SleepyHead Reminder"));
QThread::msleep(1000);
QApplication::processEvents();
QThread::msleep(1000);
}
void MainWindow::closeEvent(QCloseEvent * event)