Add const
This commit is contained in:
parent
8da2b9cd94
commit
e83b521ee0
|
@ -100,7 +100,7 @@ class GPodDevice : public ConnectedDevice, public virtual MusicStorage {
|
|||
bool WriteDatabase(QString &error_text);
|
||||
|
||||
protected:
|
||||
SharedPtr <TaskManager> task_manager_;
|
||||
const SharedPtr <TaskManager> task_manager_;
|
||||
GPodLoader *loader_;
|
||||
QThread *loader_thread_;
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ class MtpDevice : public ConnectedDevice {
|
|||
private:
|
||||
static bool sInitializedLibMTP;
|
||||
|
||||
SharedPtr<TaskManager> task_manager_;
|
||||
const SharedPtr<TaskManager> task_manager_;
|
||||
|
||||
MtpLoader *loader_;
|
||||
QThread *loader_thread_;
|
||||
|
|
Loading…
Reference in New Issue