cleanup: fix incorrect QFuture return value

I'm a abit confused why that didn't cause an error with Qt5.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-02-09 16:58:19 -08:00
parent df610752c7
commit 325addf385
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ QString NotificationWidget::getNotificationText()
return text();
}
void NotificationWidget::setFuture(const QFuture<void> &future)
void NotificationWidget::setFuture(const QFuture<int> &future)
{
future_watcher.setFuture(future);
}