GUI: Small cleanup - use const reference.

This commit is contained in:
Kimmo Varis 2010-12-08 15:08:27 +02:00
parent 27936a9968
commit bc30c7d23b
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ CheckThread::~CheckThread()
//dtor
}
void CheckThread::Check(Settings settings)
void CheckThread::Check(const Settings &settings)
{
mCppcheck.settings(settings);
start();

View File

@ -44,7 +44,7 @@ public:
*
* @param settings settings for cppcheck
*/
void Check(Settings settings);
void Check(const Settings &settings);
/**
* @brief method that is run in a thread