logic: Fixes for release

* Added timeout before checking new version on startscreen
* Fixed size estimation in indexercommand
* Fixed update title when project loading fails
This commit is contained in:
Eberhard Graether
2017-10-13 11:08:38 +02:00
parent 7257ba2722
commit cfb690b035
3 changed files with 11 additions and 9 deletions
@@ -3,6 +3,7 @@
#include <QDesktopServices>
#include <QHBoxLayout>
#include <QPushButton>
#include <QTimer>
#include <QUrl>
#include "qt/network/QtUpdateChecker.h"
@@ -27,7 +28,12 @@ QtUpdateCheckerWidget::QtUpdateCheckerWidget(QWidget* parent)
{
if (QtUpdateChecker::needsAutomaticCheck())
{
checkUpdate(false);
QTimer::singleShot(250,
[this]()
{
checkUpdate(false);
}
);
}
else
{