summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/kernel/qeventdispatcher_symbian.cpp5
-rw-r--r--src/corelib/kernel/qvariant.h5
2 files changed, 1 insertions, 9 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp
index f7605c8..3110e63 100644
--- a/src/corelib/kernel/qeventdispatcher_symbian.cpp
+++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp
@@ -502,15 +502,12 @@ void QEventDispatcherSymbian::closingDown()
if (m_selectThread.isRunning()) {
m_selectThread.stop();
}
-/*
- We do have bug in AO cancel mechanism, unfortunately it was too late
- to fix it for Garden release. This has to be fixed after Garden, see task: 246600
+
delete m_wakeUpAO;
if (m_activeScheduler) {
CActiveScheduler::Install(NULL);
delete m_activeScheduler;
}
- */
}
bool QEventDispatcherSymbian::processEvents ( QEventLoop::ProcessEventsFlags flags )
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h
index 870aba2..d7b7e3c 100644
--- a/src/corelib/kernel/qvariant.h
+++ b/src/corelib/kernel/qvariant.h
@@ -571,12 +571,7 @@ template<typename T> T qvariant_cast(const QVariant &v)
if (qvariant_cast_helper(v, QVariant::Type(vid), &t))
return t;
}
-#ifdef Q_CC_NOKIAX86
- T t;
- return t;
-#else
return T();
-#endif
}
template<typename T>