ui: Fixed issues with error UI

* load error icon only once and reuse
* fixed error not activated when selecting from list

bug id = 287
This commit is contained in:
Eberhard Graether
2017-02-10 16:21:21 +01:00
parent 3a540285a3
commit b13dbf2f2d
2 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -54,6 +54,8 @@ private:
QCheckBox* createFilterCheckbox(const QString& name, bool checked, QBoxLayout* layout);
bool isShownError(const ErrorInfo& error);
static QIcon s_errorIcon;
QtThreadedFunctor<void> m_clearFunctor;
QtThreadedFunctor<void> m_refreshFunctor;
QtThreadedFunctor<const std::vector<ErrorInfo>&, bool> m_addErrorsFunctor;
@@ -69,8 +71,6 @@ private:
std::vector<ErrorInfo> m_errors;
QPalette* m_palette;
bool m_ignoreNextSelection;
};
#endif // QT_ERROR_VIEW_H