diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-09 00:26:35 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-09 00:26:35 +0200 |
commit | bf5f5091ef6daeaf7067f4fc8973eb068ddc52fc (patch) | |
tree | 647f77c1d7f8c8e0e7bdf90fb7f3b0eac9aa5f6c /backend/BaseUpdate.h | |
parent | c8925e0f667b0c94028345586d99008066358200 (diff) | |
download | PrismLauncher-bf5f5091ef6daeaf7067f4fc8973eb068ddc52fc.tar.gz PrismLauncher-bf5f5091ef6daeaf7067f4fc8973eb068ddc52fc.tar.bz2 PrismLauncher-bf5f5091ef6daeaf7067f4fc8973eb068ddc52fc.zip |
Various task related improvements.
* Errors are reported back to task users via Failure signals.
* Lwjgl doesn't download on each legacy instance start anymore.
* Tasks were unified when it comes to success/failure.
* Task dialogs don't get spawned after short tasks finish anymore.
Diffstat (limited to 'backend/BaseUpdate.h')
-rw-r--r-- | backend/BaseUpdate.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/backend/BaseUpdate.h b/backend/BaseUpdate.h index 83eb0089..b7d2017e 100644 --- a/backend/BaseUpdate.h +++ b/backend/BaseUpdate.h @@ -38,20 +38,8 @@ public: virtual void executeTask() = 0; -signals: - /*! - * \brief Signal emitted when the game update is complete. - */ - void gameUpdateComplete(); - - /*! - * \brief Signal emitted if an error occurrs during the update. - * \param errorMsg An error message to be displayed to the user. - */ - void gameUpdateError(const QString &errorMsg); - protected slots: - virtual void error(const QString &msg); + //virtual void error(const QString &msg); void updateDownloadProgress(qint64 current, qint64 total); protected: |