From f9e3d405cdb198fabb53f7e54f18a84c768087f9 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Thu, 24 Jun 2010 18:59:09 +0000 Subject: [PATCH] Consts and grammar --- src/core/organise.cpp | 2 +- src/core/organise.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/organise.cpp b/src/core/organise.cpp index da505dcc1..b4973bcc5 100644 --- a/src/core/organise.cpp +++ b/src/core/organise.cpp @@ -86,7 +86,7 @@ void Organise::ProcessSomeFiles() { // Get the destination filename 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) continue; diff --git a/src/core/organise.h b/src/core/organise.h index 86b647334..0e9a474aa 100644 --- a/src/core/organise.h +++ b/src/core/organise.h @@ -43,11 +43,11 @@ private: QThread* original_thread_; TaskManager* task_manager_; - QString destination_; - OrganiseFormat format_; - bool copy_; - bool overwrite_; - QStringList files_; + const QString destination_; + const OrganiseFormat format_; + const bool copy_; + const bool overwrite_; + const QStringList files_; int task_id_; int progress_;