~mterry/ubuntu-keyboard/emdash

« back to all changes in this revision

Viewing changes to src/imports/Ubuntu/Keyboard/inputmethodextensions.cpp

  • Committer: CI Train Bot
  • Author(s): Renato Araujo Oliveira Filho
  • Date: 2015-01-08 18:07:15 UTC
  • mfrom: (273.1.1 ubuntu-keyboard)
  • Revision ID: ci_train_bot_citrain_user@canonical.com-20150108180715-t7drj9ltx0brkung
Make sure that changes on "InputMethod.extensions" property get propagated to maliit. Fixes: #1384278
Approved by: Michael Sheldon, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "inputmethodextensions.h"
31
31
 
32
32
#include <QtCore>
 
33
#include <QtGui>
33
34
 
34
35
namespace Ubuntu {
35
36
namespace Keyboard {
83
84
        m_extensions = map;
84
85
        if (m_inputText) {
85
86
            m_inputText->setProperty("__inputMethodExtensions", m_extensions);
 
87
            qApp->inputMethod()->update(Qt::ImPlatformData);
86
88
        }
87
89
        Q_EMIT inputMethodExtensionsChanged();
88
90
    }