ui: Fixed color scheme not updated on refresh

This commit is contained in:
Eberhard Graether
2016-10-21 15:38:07 +02:00
parent e557e04000
commit 9473e62aaf
5 changed files with 4 additions and 19 deletions
-1
View File
@@ -127,7 +127,6 @@ void QtCodeView::scrollToLine(const FilePath filePath, unsigned int line)
void QtCodeView::doRefreshView()
{
setStyleSheet();
m_widget->clearCodeSnippets();
QtCodeArea::clearAnnotationColors();
QtHighlighter::clearHighlightingRules();
-9
View File
@@ -131,15 +131,6 @@ void QtErrorView::setErrorId(Id errorId)
void QtErrorView::doRefreshView()
{
m_model->removeRows(0, m_model->rowCount());
for (ErrorInfo error : m_errors)
{
addErrorToTable(error);
}
m_table->updateRows();
setStyleSheet();
}
-1
View File
@@ -304,7 +304,6 @@ void QtGraphView::doResize()
void QtGraphView::doRefreshView()
{
doClear();
doResize();
QtGraphicsView* view = getView();
-1
View File
@@ -61,7 +61,6 @@ void QtSearchView::doRefreshView()
{
setStyleSheet();
m_widget->refreshStyle();
m_widget->setMatches(std::vector<SearchMatch>());
}
void QtSearchView::doSetMatches(const std::vector<SearchMatch>& matches)