mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 06:15:49 +00:00
add checkupdates function
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user