aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--launcher/src/main.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp
index 7181a78..1d324b2 100644
--- a/launcher/src/main.cpp
+++ b/launcher/src/main.cpp
@@ -137,16 +137,6 @@ int main(int argc, char *argv[])
query.addQueryItem(QStringLiteral("token"), token);
bindingAddress.setQuery(query);
- const QByteArray hack_delay = qgetenv("HMI_LAUNCHER_STARTUP_DELAY");
- int delay_time = 1;
-
- if (!hack_delay.isEmpty()) {
- delay_time = (QString::fromLocal8Bit(hack_delay)).toInt();
- }
-
- QThread::sleep(delay_time);
- qDebug("Sleep %d sec to resolve race condtion between HomeScreen and Launcher", delay_time);
-
// mail.qml loading
QQmlApplicationEngine engine;
engine.rootContext()->setContextProperty(QStringLiteral("layoutHandler"), layoutHandler);