fix(ui): fix compilation on macOS

This commit is contained in:
Oleg Shparber 2019-03-25 22:44:45 -04:00
parent 07fdaec85d
commit bf8ef66580

View File

@ -63,7 +63,7 @@ SearchSidebar::SearchSidebar(const SearchSidebar *other, QWidget *parent)
m_treeView->setHeaderHidden(true);
m_treeView->setUniformRowHeights(true);
#ifdef Q_OS_MACOS
m_searchResultView->setAttribute(Qt::WA_MacShowFocusRect, false);
m_treeView->setAttribute(Qt::WA_MacShowFocusRect, false);
#endif
// Save expanded items.