mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Ref T203, renamed to update settings
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
//! \file
|
//! \file
|
||||||
|
|
||||||
#ifndef BLACKCORE_APPLICATION_DISTRIBUTIONSETTINGS_H
|
#ifndef BLACKCORE_APPLICATION_UPDATESETTINGS_H
|
||||||
#define BLACKCORE_APPLICATION_DISTRIBUTIONSETTINGS_H
|
#define BLACKCORE_APPLICATION_UPDATESETTINGS_H
|
||||||
|
|
||||||
#include "blackcore/application.h"
|
#include "blackcore/application.h"
|
||||||
#include "blackconfig/buildconfig.h"
|
#include "blackconfig/buildconfig.h"
|
||||||
@@ -31,7 +31,7 @@ namespace BlackCore
|
|||||||
//! \copydoc BlackMisc::TSettingTrait::defaultValue
|
//! \copydoc BlackMisc::TSettingTrait::defaultValue
|
||||||
static const QStringList &defaultValue()
|
static const QStringList &defaultValue()
|
||||||
{
|
{
|
||||||
// guessing / preseting some default values
|
// guessing / preset-ing some default values
|
||||||
static const QStringList d = (sApp && !sApp->getUpdateInfo().isEmpty()) ?
|
static const QStringList d = (sApp && !sApp->getUpdateInfo().isEmpty()) ?
|
||||||
sApp->getUpdateInfo().anticipateMyDefaultChannelAndPlatform() : // from cached or loaded update info
|
sApp->getUpdateInfo().anticipateMyDefaultChannelAndPlatform() : // from cached or loaded update info
|
||||||
QStringList({ "STABLE", BlackMisc::CPlatform::currentPlatform().getPlatformName()});
|
QStringList({ "STABLE", BlackMisc::CPlatform::currentPlatform().getPlatformName()});
|
||||||
Reference in New Issue
Block a user