mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make future_watcher a subobject of NotificationWidget
This was a raw pointer. No point in doing error-prone manual memory management. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5a9faf2fea
commit
1704e08012
2 changed files with 3 additions and 10 deletions
|
@ -20,10 +20,9 @@ public:
|
|||
void showNotification(QString message, KMessageWidget::MessageType type);
|
||||
void hideNotification();
|
||||
QString getNotificationText();
|
||||
~NotificationWidget();
|
||||
|
||||
private:
|
||||
QFutureWatcher<void> *future_watcher;
|
||||
QFutureWatcher<void> future_watcher;
|
||||
|
||||
private
|
||||
slots:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue