~aacid/qtubuntu/remove_unused_signal

« back to all changes in this revision

Viewing changes to src/ubuntumirclient/plugin.cpp

  • Committer: Bileto Bot
  • Date: 2017-01-16 06:39:32 UTC
  • mfrom: (360.2.4 qtubuntu)
  • Revision ID: ci-train-bot@canonical.com-20170116063932-70jenqyqw3jplt3q
Resync trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include "plugin.h"
18
18
#include "integration.h"
19
19
#include "logging.h"
 
20
#include "qpa/qplatformwindow.h"
20
21
 
21
22
Q_LOGGING_CATEGORY(ubuntumirclient, "ubuntumirclient", QtWarningMsg)
22
23
 
24
25
                                                               const QStringList &/*paramList*/,
25
26
                                                               int &argc, char **argv)
26
27
{
 
28
    qRegisterMetaType<QPlatformWindow*>("QPlatformWindow*");
 
29
 
27
30
    if (system.toLower() == QLatin1String("ubuntumirclient")) {
28
31
#ifdef PLATFORM_API_TOUCH
29
32
        setenv("UBUNTU_PLATFORM_API_BACKEND", "touch_mirclient", 1);