diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-25 15:24:55 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-25 15:24:55 +0100 |
commit | c6a2d1a828cb819f4622ec730c18bf2c816c6179 (patch) | |
tree | 3521cd6f98dea0b84d683b139900971b28322cb1 /common/resourceaccess.h | |
parent | a9215eadb1439cf7bb0eb220fb1f7d04a4d46a9a (diff) | |
download | sink-c6a2d1a828cb819f4622ec730c18bf2c816c6179.tar.gz sink-c6a2d1a828cb819f4622ec730c18bf2c816c6179.zip |
Propagate errors for commands.
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r-- | common/resourceaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h index fbdd992..c5b8a6c 100644 --- a/common/resourceaccess.h +++ b/common/resourceaccess.h | |||
@@ -65,7 +65,7 @@ private Q_SLOTS: | |||
65 | 65 | ||
66 | private: | 66 | private: |
67 | void log(const QString &message); | 67 | void log(const QString &message); |
68 | void registerCallback(uint messageId, const std::function<void()> &callback); | 68 | void registerCallback(uint messageId, const std::function<void(int error, const QString &)> &callback); |
69 | 69 | ||
70 | class Private; | 70 | class Private; |
71 | Private * const d; | 71 | Private * const d; |