projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde6799
)
Call XInitThreads() on startup
author
Mohammed Sameer
<msameer@foolab.org>
Wed, 5 Sep 2012 15:25:53 +0000
(18:25 +0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Thu, 6 Sep 2012 16:10:10 +0000
(19:10 +0300)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
c582233
..
1aac8ab
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-4,12
+4,15
@@
#include <QDeclarativeEngine>
#include <QtDeclarative>
#include <QGLWidget>
+#include <X11/Xlib.h>
#include "imports/plugin.h"
#include "settings.h"
Q_DECL_EXPORT int main(int argc, char *argv[]) {
+ XInitThreads();
+
QApplication app(argc, argv);
QDeclarativeView view;