~gerboland/qtubuntu/enable-debug-mode

« back to all changes in this revision

Viewing changes to src/ubuntumirclient/plugin.cpp

  • Committer: Gerry Boland
  • Date: 2016-04-12 13:10:43 UTC
  • mfrom: (280.2.34 enable-debug-mode)
  • Revision ID: gerry.boland@canonical.com-20160412131043-t14zmcbheuxclmhr
Merge lp:~dandrader/qtubuntu/enable-debug-mode, he kindly fixed merging this with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
#include "plugin.h"
18
18
#include "integration.h"
 
19
#include "logging.h"
 
20
 
 
21
Q_LOGGING_CATEGORY(ubuntumirclient, "ubuntumirclient", QtWarningMsg)
19
22
 
20
23
QPlatformIntegration *UbuntuMirClientIntegrationPlugin::create(const QString &system,
21
24
                                                               const QStringList &/*paramList*/,
22
25
                                                               int &argc, char **argv)
23
26
{
24
 
    if (system.toLower() == "ubuntumirclient") {
 
27
    if (system.toLower() == QLatin1String("ubuntumirclient")) {
25
28
#ifdef PLATFORM_API_TOUCH
26
29
        setenv("UBUNTU_PLATFORM_API_BACKEND", "touch_mirclient", 1);
27
30
#else