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);
|
bool WriteDatabase(QString &error_text);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
SharedPtr <TaskManager> task_manager_;
|
const SharedPtr <TaskManager> task_manager_;
|
||||||
GPodLoader *loader_;
|
GPodLoader *loader_;
|
||||||
QThread *loader_thread_;
|
QThread *loader_thread_;
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ class MtpDevice : public ConnectedDevice {
|
||||||
private:
|
private:
|
||||||
static bool sInitializedLibMTP;
|
static bool sInitializedLibMTP;
|
||||||
|
|
||||||
SharedPtr<TaskManager> task_manager_;
|
const SharedPtr<TaskManager> task_manager_;
|
||||||
|
|
||||||
MtpLoader *loader_;
|
MtpLoader *loader_;
|
||||||
QThread *loader_thread_;
|
QThread *loader_thread_;
|
||||||
|
|
Loading…
Reference in New Issue