# HG changeset patch # User Andre Heinecke # Date 1411565186 -7200 # Node ID 05b938021a24cb13345cecf856a032a0aaa31951 # Parent 6154d554b3af319956b68de933d4430624f8bc56 (issue38) A bit debug output for LTE handling. diff -r 6154d554b3af -r 05b938021a24 ui/mainwindow.cpp --- a/ui/mainwindow.cpp Wed Sep 24 15:39:02 2014 +0200 +++ b/ui/mainwindow.cpp Wed Sep 24 15:26:26 2014 +0200 @@ -581,6 +581,7 @@ void MainWindow::downloaderError(const QString &message, SSLConnection::ErrorCode error) { syslog_error_printf ("Failed to check for updates: %s", message.toUtf8().constData()); + qDebug() << "Downloader error: " << error; if (error == SSLConnection::InvalidCertificate) { handleLTE(lteInvalidCertificate); } else { @@ -1723,6 +1724,7 @@ void MainWindow::handleLTE(LongTimeErrors lte, bool reset) { QString settingPrefix; + // qDebug() << "Handle LTE for " << lte << " Reset? : " << reset; switch (lte) { case lteInvalidSoftware: settingPrefix = "LTE/invalidSW"; @@ -1744,7 +1746,7 @@ /* delete all values and be done */ mSettings.remove(settingPrefix + "_lastSaved"); mSettings.remove(settingPrefix + "_count"); - mSettings.remove(settingPrefix + "_lastMsgShown"); + mSettings.remove(settingPrefix + "_lastShown"); return; }