on xenial help sign in
Fixed type in variable name.
20f9687Pawel Stolowski
plugins/Unity/categories.cpp+2−2
@@ -110,8 +110,8 @@ Categories::setUnityScope(const unity::dash::Scope::Ptr& scope)
110 m_categoriesChangedConnection =
110 m_categoriesChangedConnection =
111 m_unityScope->categories()->model.changed.connect(sigc::mem_fun(this, &Categories::onCategoriesModelChanged));
111 m_unityScope->categories()->model.changed.connect(sigc::mem_fun(this, &Categories::onCategoriesModelChanged));
112
112
113− m_resultshangedConnection.disconnect();
113+ m_resultsChangedConnection.disconnect();
114− m_resultshangedConnection = m_unityScope->results()->model.changed.connect(sigc::mem_fun(this, &Categories::onScopeResultsModelChanged));
114+ m_resultsChangedConnection = m_unityScope->results()->model.changed.connect(sigc::mem_fun(this, &Categories::onScopeResultsModelChanged));
115}
115}
116
116
117void
117void
plugins/Unity/categories.h+1−1
@@ -81,7 +81,7 @@ private:
81 QMap<QString, QAbstractItemModel*> m_overriddenCategories;
81 QMap<QString, QAbstractItemModel*> m_overriddenCategories;
82 mutable QMap<int, DeeListModel*> m_results;
82 mutable QMap<int, DeeListModel*> m_results;
83 sigc::connection m_categoriesChangedConnection;
83 sigc::connection m_categoriesChangedConnection;
84− sigc::connection m_resultshangedConnection;
84+ sigc::connection m_resultsChangedConnection;
85};
85};
86
86
87#endif // CATEGORIES_H
87#endif // CATEGORIES_H