mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Fix -Wunused-const-variable warnings by removing unused variables
Fixes #24432
This commit is contained in:
parent
075ab20e5b
commit
3ba5b825e5
3 changed files with 0 additions and 3 deletions
|
@ -64,7 +64,6 @@ constexpr auto kDesktopFile = ":/misc/telegramdesktop.desktop"_cs;
|
||||||
constexpr auto kIconName = "telegram"_cs;
|
constexpr auto kIconName = "telegram"_cs;
|
||||||
|
|
||||||
constexpr auto kIBusPortalService = "org.freedesktop.portal.IBus"_cs;
|
constexpr auto kIBusPortalService = "org.freedesktop.portal.IBus"_cs;
|
||||||
constexpr auto kWebviewService = "org.telegram.desktop.GtkIntegration.WebviewHelper-%1-%2"_cs;
|
|
||||||
|
|
||||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||||
void PortalAutostart(bool start, bool silent) {
|
void PortalAutostart(bool start, bool silent) {
|
||||||
|
|
|
@ -20,7 +20,6 @@ namespace Ui {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
constexpr auto kDaysInWeek = 7;
|
constexpr auto kDaysInWeek = 7;
|
||||||
constexpr auto kMaxDaysForScroll = kDaysInWeek * 1000;
|
|
||||||
constexpr auto kTooltipDelay = crl::time(1000);
|
constexpr auto kTooltipDelay = crl::time(1000);
|
||||||
constexpr auto kJumpDelay = 2 * crl::time(1000);
|
constexpr auto kJumpDelay = 2 * crl::time(1000);
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
constexpr auto kMaxChatEntryHistorySize = 50;
|
|
||||||
constexpr auto kCacheBackgroundTimeout = 1 * crl::time(1000);
|
constexpr auto kCacheBackgroundTimeout = 1 * crl::time(1000);
|
||||||
constexpr auto kCacheBackgroundFastTimeout = crl::time(200);
|
constexpr auto kCacheBackgroundFastTimeout = crl::time(200);
|
||||||
constexpr auto kBackgroundFadeDuration = crl::time(200);
|
constexpr auto kBackgroundFadeDuration = crl::time(200);
|
||||||
|
|
Loading…
Add table
Reference in a new issue