Skip to content

Commit

Permalink
Merge branch 'master' into 'master'
Browse files Browse the repository at this point in the history
[messagingframework] Avoid unnecessary Wayland connection. Contributes to JB#34345



See merge request !1
  • Loading branch information
pvuorela committed Mar 2, 2016
2 parents 835239c + 29e3b43 commit c678068
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qmf/src/tools/messageserver/main.cpp
Expand Up @@ -45,6 +45,7 @@
#include <qmaillog.h>
#include <qloggers.h>
#include <signal.h>
#include <stdlib.h>
#ifdef USE_HTML_PARSER
#include <QtGui>
#endif
Expand Down Expand Up @@ -74,7 +75,8 @@ static void recreateLoggers(int n)
Q_DECL_EXPORT int main(int argc, char** argv)
{
#ifdef USE_HTML_PARSER
// Need for html parsing by <QTextdocument> in qmailmessage.cpp
// Need for html parsing by <QTextdocument> in qmailmessage.cpp, but don't need real UI
setenv("QT_QPA_PLATFORM", "minimal", 1);
QGuiApplication app(argc, argv);
#else
QCoreApplication app(argc, argv);
Expand Down

0 comments on commit c678068

Please sign in to comment.