Device: allow status updates from all methods

turned statusCallback into a member of Device (instead of a parameter to
download() and preview(). This allows all methods to access it, directly
and provide better feedback during open/close/erase.
This commit is contained in:
Rainer Clasen
2012-02-11 15:07:31 +01:00
parent e3d6c17288
commit 1490102e8d
9 changed files with 32 additions and 38 deletions

View File

@@ -39,7 +39,7 @@ Device::~Device()
}
bool
Device::preview( StatusCallback statusCallback, QString &err )
Device::preview( QString &err )
{
(void) statusCallback;
(void) err;