loading images on their own thread

This commit is contained in:
fourtf
2018-08-09 18:39:46 +02:00
parent bb76a632f4
commit 6344fa6b23
5 changed files with 96 additions and 30 deletions
+2 -2
View File
@@ -205,7 +205,7 @@ void ChannelView::layoutMessages()
void ChannelView::actuallyLayoutMessages(bool causedByScrollbar)
{
// BenchmarkGuard benchmark("layout messages");
// BenchmarkGuard benchmark("layout");
auto app = getApp();
@@ -633,7 +633,7 @@ void ChannelView::updatePauseStatus()
void ChannelView::paintEvent(QPaintEvent * /*event*/)
{
// BenchmarkGuard benchmark("paint event");
// BenchmarkGuard benchmark("paint");
QPainter painter(this);