src: avoid indexing slowdown on macOS by not using unknown progress for progressbar in status bar

This commit is contained in:
Eberhard Graether
2018-07-24 03:36:27 +02:00
parent 0fc670bcd7
commit ac31bb6779
14 changed files with 34 additions and 67 deletions
+2 -2
View File
@@ -57,12 +57,12 @@ void QtStatusBarView::showIdeStatus(const std::wstring& message)
);
}
void QtStatusBarView::showIndexingProgress(bool unknownProgress, size_t progressPercent)
void QtStatusBarView::showIndexingProgress(size_t progressPercent)
{
m_onQtThread(
[=]()
{
m_widget->showIndexingProgress(unknownProgress, progressPercent);
m_widget->showIndexingProgress(progressPercent);
}
);
}