~zsombi/ubuntu-ui-toolkit/20-divider

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/plugin/quickutils.cpp

  • Committer: Zsombor Egri
  • Date: 2014-11-06 07:25:22 UTC
  • mfrom: (1142.1.71 10-viewitem)
  • Revision ID: zsombor.egri@canonical.com-20141106072522-d6eupaf7d2z63fo9
prereq sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    m_rootView(0)
36
36
{
37
37
    QGuiApplication::instance()->installEventFilter(this);
 
38
    m_omitIM << "ibus" << "none" << "compose";
38
39
}
39
40
 
40
41
/*!
107
108
 
108
109
QString QuickUtils::inputMethodProvider() const
109
110
{
110
 
    return QString(getenv("QT_IM_MODULE"));
 
111
    QString im(getenv("QT_IM_MODULE"));
 
112
 
 
113
    return m_omitIM.contains(im) ? QString() : im;
111
114
}
112
115
 
113
116
bool QuickUtils::touchScreenAvailable() const