fixed updating

This commit is contained in:
Martchus 2016-02-26 16:59:15 +01:00
parent 86735399fd
commit 69a3d6de9d
2 changed files with 2 additions and 2 deletions

View File

@ -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}\"")

View File

@ -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>();