diff -r 4785f57bf3d4 -r 03646e8da489 homescreenapp/hsdomainmodel/src/hsshortcutservice.cpp --- a/homescreenapp/hsdomainmodel/src/hsshortcutservice.cpp Thu May 27 12:46:08 2010 +0300 +++ b/homescreenapp/hsdomainmodel/src/hsshortcutservice.cpp Fri Jun 11 13:30:16 2010 +0300 @@ -68,9 +68,9 @@ HsShortcutService *HsShortcutService::instance(QStateMachine *stateMachine) { if (!mInstance && stateMachine) { - mInstance.reset(new HsShortcutService(stateMachine)); + mInstance = new HsShortcutService(stateMachine); } - return mInstance.data(); + return mInstance; } HsShortcutService::~HsShortcutService() @@ -94,4 +94,4 @@ mD.reset(new HsShortcutServicePrivate(stateMachine)); } -QScopedPointer HsShortcutService::mInstance(0); +HsShortcutService *HsShortcutService::mInstance(0);