Commit f7f11245 authored by Laurent Montel's avatar Laurent Montel 😁

Merge remote-tracking branch 'origin/Applications/17.04'

parents df75264a 641a0eed
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
#include "kontactconfiguredialog.h" #include "kontactconfiguredialog.h"
using namespace Kontact; using namespace Kontact;
#ifndef WIN32
#include <unistd.h> #include <unistd.h>
#endif
#include <Libkdepim/BroadcastStatus> #include <Libkdepim/BroadcastStatus>
#include <Libkdepim/ProgressStatusBarWidget> #include <Libkdepim/ProgressStatusBarWidget>
#include <Libkdepim/StatusbarProgressWidget> #include <Libkdepim/StatusbarProgressWidget>
...@@ -213,7 +213,12 @@ void MainWindow::waitForKSycoca() ...@@ -213,7 +213,12 @@ void MainWindow::waitForKSycoca()
// System Configuration database necessary for further // System Configuration database necessary for further
// Kontact startup // Kontact startup
qCDebug(KONTACT_LOG) << "Waiting for KSycoca"; qCDebug(KONTACT_LOG) << "Waiting for KSycoca";
#ifdef WIN32
Sleep(1000);
#else
sleep(1); sleep(1);
#endif
++i; ++i;
} }
// This should only happen if the distribution is broken // This should only happen if the distribution is broken
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment