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 @@
#include "kontactconfiguredialog.h"
using namespace Kontact;
#ifndef WIN32
#include <unistd.h>
#endif
#include <Libkdepim/BroadcastStatus>
#include <Libkdepim/ProgressStatusBarWidget>
#include <Libkdepim/StatusbarProgressWidget>
......@@ -213,7 +213,12 @@ void MainWindow::waitForKSycoca()
// System Configuration database necessary for further
// Kontact startup
qCDebug(KONTACT_LOG) << "Waiting for KSycoca";
#ifdef WIN32
Sleep(1000);
#else
sleep(1);
#endif
++i;
}
// 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