mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
df610752c7
commit
325addf385
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue