Skip to content

Commit 97a8631

Browse files
committed
GUI: rename methods, fix connect
1 parent 98803bb commit 97a8631

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

gui/threadhandler.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ThreadHandler::ThreadHandler(QObject *parent) :
3838

3939
ThreadHandler::~ThreadHandler()
4040
{
41-
RemoveThreads();
41+
removeThreads();
4242
}
4343

4444
void ThreadHandler::clearFiles()
@@ -116,7 +116,7 @@ void ThreadHandler::setThreadCount(const int count)
116116
}
117117

118118
//Remove unused old threads
119-
RemoveThreads();
119+
removeThreads();
120120
//Create new threads
121121
for (int i = mThreads.size(); i < count; i++) {
122122
mThreads << new CheckThread(mResults);
@@ -129,14 +129,14 @@ void ThreadHandler::setThreadCount(const int count)
129129
}
130130

131131

132-
void ThreadHandler::RemoveThreads()
132+
void ThreadHandler::removeThreads()
133133
{
134134
for (int i = 0; i < mThreads.size(); i++) {
135135
mThreads[i]->terminate();
136136
disconnect(mThreads.last(), SIGNAL(Done()),
137-
this, SLOT(ThreadDone()));
137+
this, SLOT(threadDone()));
138138
disconnect(mThreads.last(), SIGNAL(FileChecked(const QString &)),
139-
&mResults, SLOT(FileChecked(const QString &)));
139+
&mResults, SLOT(fileChecked(const QString &)));
140140

141141
delete mThreads[i];
142142
}

gui/threadhandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ protected slots:
215215
* @brief Function to delete all threads
216216
*
217217
*/
218-
void RemoveThreads();
218+
void removeThreads();
219219

220220
/**
221221
* @brief Thread results are stored here

0 commit comments

Comments
 (0)