Commit c81f31c7 authored by hjk's avatar hjk

ModeManager: Make instance return a ModeManager * again

Better for Qt5-style connects.

Change-Id: I37353c4b7697c8bb32f0cf13e2721ba78da904cd
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent bf848c49
......@@ -321,7 +321,7 @@ bool ModeManager::isModeSelectorVisible()
return d->m_modeSelectorVisible;
}
QObject *ModeManager::instance()
ModeManager *ModeManager::instance()
{
return m_instance;
}
......
......@@ -53,7 +53,7 @@ class CORE_EXPORT ModeManager : public QObject
Q_OBJECT
public:
static QObject *instance();
static ModeManager *instance();
static IMode *currentMode();
static IMode *mode(Id id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment