From 2785152e36028cee34fa2885881701515780b964 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Tue, 14 Dec 2021 18:32:12 +0300 Subject: [PATCH] Comment out unused ReadDoubleOption --- Telegram/SourceFiles/kotato/json_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/kotato/json_settings.cpp b/Telegram/SourceFiles/kotato/json_settings.cpp index 7b1fab50a..2c68513a8 100644 --- a/Telegram/SourceFiles/kotato/json_settings.cpp +++ b/Telegram/SourceFiles/kotato/json_settings.cpp @@ -153,6 +153,7 @@ bool ReadStringOption(QJsonObject obj, QString key, std::function return (readValueResult && readResult); } +/* bool ReadDoubleOption(QJsonObject obj, QString key, std::function callback) { auto readResult = false; auto readValueResult = ReadOption(obj, key, [&](QJsonValue v) { @@ -163,6 +164,7 @@ bool ReadDoubleOption(QJsonObject obj, QString key, std::function }); return (readValueResult && readResult); } +*/ bool ReadIntOption(QJsonObject obj, QString key, std::function callback) { auto readResult = false;