mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
Consts and grammar
This commit is contained in:
parent
5f9c1bb2aa
commit
f9e3d405cd
@ -86,7 +86,7 @@ void Organise::ProcessSomeFiles() {
|
|||||||
// Get the destination filename
|
// Get the destination filename
|
||||||
QString dest_filename = destination_ + "/" + format_.GetFilenameForSong(song);
|
QString dest_filename = destination_ + "/" + format_.GetFilenameForSong(song);
|
||||||
|
|
||||||
// Don't do anything if it's the destination is the same as the source
|
// Don't do anything if the destination is the same as the source
|
||||||
if (filename == dest_filename)
|
if (filename == dest_filename)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
@ -43,11 +43,11 @@ private:
|
|||||||
QThread* original_thread_;
|
QThread* original_thread_;
|
||||||
TaskManager* task_manager_;
|
TaskManager* task_manager_;
|
||||||
|
|
||||||
QString destination_;
|
const QString destination_;
|
||||||
OrganiseFormat format_;
|
const OrganiseFormat format_;
|
||||||
bool copy_;
|
const bool copy_;
|
||||||
bool overwrite_;
|
const bool overwrite_;
|
||||||
QStringList files_;
|
const QStringList files_;
|
||||||
|
|
||||||
int task_id_;
|
int task_id_;
|
||||||
int progress_;
|
int progress_;
|
||||||
|
Loading…
Reference in New Issue
Block a user