GUI: Small cleanup - use const reference.

This commit is contained in:
Kimmo Varis 2010-12-08 14:55:56 +02:00
parent fab16c4cbf
commit 27936a9968
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ void ThreadHandler::SetFiles(const QStringList &files)
mLastFiles = files;
}
void ThreadHandler::Check(Settings settings, bool recheck)
void ThreadHandler::Check(const Settings &settings, bool recheck)
{
if (recheck && mRunningThreadCount == 0)
{

View File

@ -88,7 +88,7 @@ public:
* @param settings Settings for checking
* @param recheck Should we reuse the files we checked earleir
*/
void Check(Settings settings, bool recheck);
void Check(const Settings &settings, bool recheck);
/**
* @brief Is checking running?