on xenial help sign in
Fix unitialized variable in Scope

==18457== Conditional jump or move depends on uninitialised value(s) ==18457== at 0x15AD1FD6: Scope::setActive(bool) (scope.cpp:165) ==18457== by 0x15B0023D: Scope::qt_metacall(QMetaObject::Call, int, void**) (moc_scope.cpp:478) ==18457== by 0x48B709F: QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyPrivate::WriteFlag>) (in /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5.0.2)

commitf11ec7dfa787ec0c02c86bf63a0823daae972f4c authorAlbert Astals <albert.astals@canonical.com> dateFri 11 Oct 2013, 15:45 (13 years ago) parent61093c8
1 file changed+1
plugins/Unity/scope.cpp+1
plugins/Unity/scope.cpp+1
@@ -40,6 +40,7 @@
4040
4141Scope::Scope(QObject *parent) : QObject(parent)
4242 , m_formFactor("phone")
43+ , m_isActive(false)
4344 , m_searchInProgress(false)
4445{
4546 m_categories.reset(new Categories(this));