Add const

This commit is contained in:
Jonas Kvinge 2024-11-01 23:23:46 +01:00
parent 8da2b9cd94
commit e83b521ee0
2 changed files with 2 additions and 2 deletions

View File

@ -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_;

View File

@ -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_;