summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp
diff options
context:
space:
mode:
authorXizhi Zhu <xizhi.zhu@nokia.com>2011-04-07 15:47:57 +0300
committerXizhi Zhu <xizhi.zhu@nokia.com>2011-04-08 08:30:22 +0300
commit7858886be00e6dd7a90b1bca3ba7b913b217c719 (patch)
treef6b45df540d6d268fbbe6fcb0c8ccaf17a225641 /tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp
parent60f09f70c1e3ce92d9b5f1ea565b6478712a5e10 (diff)
Fix immersion plugin.
The refCount increases only when successfully loaded, and decreases only when referred at least once. Task-number: MOBILITY-2396
Diffstat (limited to 'tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp')
-rw-r--r--tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp b/tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp
index 30e64c9159..056adcdb79 100644
--- a/tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp
+++ b/tests/auto/qfeedbackplugin/testplugin/qfeedbacktestplugin.cpp
@@ -173,7 +173,6 @@ void QFeedbackTestPlugin::timerExpired()
void QFeedbackTestPlugin::setLoaded(QFeedbackFileEffect *effect, bool load)
{
- Q_UNUSED(effect)
if (effect->source() == QUrl("load")) {
// Succeed the load
if (load) {