diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 3d8a189c7986d510c05b76c53d29a373eb271e11..2fe0871571291a2bc8456d3ca77f11abd7a7843e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -30,9 +30,9 @@ #include "kontactconfiguredialog.h" using namespace Kontact; - +#ifndef WIN32 #include - +#endif #include #include #include @@ -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