Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kontact
Commits
641a0eed
Commit
641a0eed
authored
Jun 09, 2017
by
Laurent Montel
😁
Browse files
Make it compile on windows
parent
6dc0a38b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
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>
...
...
@@ -227,7 +227,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment