Refactored NetworkRequest and misc

This commit is contained in:
fourtf
2018-07-06 17:56:11 +02:00
parent 477d4751f7
commit 3993708164
8 changed files with 244 additions and 243 deletions
+3 -3
View File
@@ -22,10 +22,10 @@ Channel::Channel(const QString &_name, Type _type)
, completionModel(this->name)
, type_(_type)
{
QObject::connect(&this->clearCompletionModelTimer, &QTimer::timeout, [this]() {
this->completionModel.ClearExpiredStrings(); //
QObject::connect(&this->clearCompletionModelTimer_, &QTimer::timeout, [this]() {
this->completionModel.clearExpiredStrings(); //
});
this->clearCompletionModelTimer.start(60 * 1000);
this->clearCompletionModelTimer_.start(60 * 1000);
}
Channel::~Channel()