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
|
|
@ -16,7 +16,7 @@ class NotificationWidget : public KMessageWidget {
|
|||
|
||||
public:
|
||||
explicit NotificationWidget(QWidget *parent = 0);
|
||||
void setFuture(const QFuture<void> &future);
|
||||
void setFuture(const QFuture<int> &future);
|
||||
void showNotification(QString message, KMessageWidget::MessageType type);
|
||||
void hideNotification();
|
||||
QString getNotificationText();
|
||||
|
|
@ -25,7 +25,7 @@ public
|
|||
slots:
|
||||
void showError(QString message);
|
||||
private:
|
||||
QFutureWatcher<void> future_watcher;
|
||||
QFutureWatcher<int> future_watcher;
|
||||
|
||||
private
|
||||
slots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue