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

View File

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