GUI: Small cleanup - use const reference.
This commit is contained in:
parent
fab16c4cbf
commit
27936a9968
|
@ -48,7 +48,7 @@ void ThreadHandler::SetFiles(const QStringList &files)
|
||||||
mLastFiles = files;
|
mLastFiles = files;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ThreadHandler::Check(Settings settings, bool recheck)
|
void ThreadHandler::Check(const Settings &settings, bool recheck)
|
||||||
{
|
{
|
||||||
if (recheck && mRunningThreadCount == 0)
|
if (recheck && mRunningThreadCount == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -88,7 +88,7 @@ public:
|
||||||
* @param settings Settings for checking
|
* @param settings Settings for checking
|
||||||
* @param recheck Should we reuse the files we checked earleir
|
* @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?
|
* @brief Is checking running?
|
||||||
|
|
Loading…
Reference in New Issue