mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Build fixes
This commit is contained in:
@@ -643,7 +643,7 @@ void Instance::loadFromJson(const QString &filename) {
|
||||
|
||||
} else if ((*value).isObject()) {
|
||||
|
||||
const auto keyPlurals = (*value).isObject()
|
||||
const auto keyPlurals = (*value).toObject();
|
||||
const auto pluralList = keyPlurals.keys();
|
||||
|
||||
for (auto pli = keyList.constBegin(), ple = keyList.constEnd(); pli != ple; ++pli) {
|
||||
@@ -656,8 +656,8 @@ void Instance::loadFromJson(const QString &filename) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const auto name = QByteArray(key + "#" + plural);
|
||||
const auto translation = QByteArray((*pluralValue).toString());
|
||||
const auto name = QByteArray().append(key + "#" + plural);
|
||||
const auto translation = QByteArray().append((*pluralValue).toString());
|
||||
|
||||
applyValue(name, translation);
|
||||
if (--limit <= 0) {
|
||||
|
@@ -211,7 +211,7 @@ inline void SetNetworkBoost(int boost) {
|
||||
|
||||
DeclareSetting(bool, ShowPhoneInDrawer);
|
||||
|
||||
using ScaleVector = std::std::vector<int>;
|
||||
using ScaleVector = std::vector<int>;
|
||||
DeclareRefSetting(ScaleVector, InterfaceScales);
|
||||
bool HasCustomScales();
|
||||
bool AddCustomScale(int scale);
|
||||
|
Reference in New Issue
Block a user