fixed updating
This commit is contained in:
parent
86735399fd
commit
69a3d6de9d
|
@ -77,7 +77,7 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
|
|||
set(META_APP_DESCRIPTION "Arch Linux repository browser")
|
||||
set(META_VERSION_MAJOR 0)
|
||||
set(META_VERSION_MINOR 2)
|
||||
set(META_VERSION_PATCH 0)
|
||||
set(META_VERSION_PATCH 1)
|
||||
|
||||
# stringification of meta data
|
||||
set(META_PROJECT_NAME_STR "\"${META_PROJECT_NAME}\"")
|
||||
|
|
|
@ -670,7 +670,7 @@ bool Manager::isAutoUpdateEnabled() const
|
|||
*/
|
||||
void Manager::setAutoUpdateEnabled(bool enabled)
|
||||
{
|
||||
if(isAutoCacheMaintenanceEnabled() != enabled) {
|
||||
if(isAutoUpdateEnabled() != enabled) {
|
||||
if(enabled) {
|
||||
if(!m_updateTimer) {
|
||||
m_updateTimer = make_unique<QTimer>();
|
||||
|
|
Loading…
Reference in New Issue