add checkupdates function

This commit is contained in:
arcan1s
2014-10-15 16:41:31 +04:00
parent 4fc2e238bd
commit 5bf3847bc9
3 changed files with 18 additions and 4 deletions

View File

@ -234,7 +234,8 @@ void AwesomeWidget::init()
timer->start();
// check for updates
connect(this, SIGNAL(thereIsUpdates(QString)), this, SLOT(showUpdates(QString)));
checkUpdates();
if (configuration[QString("checkUpdates")].toInt() == 2)
checkUpdates();
}