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 kIBusPortalService = "org.freedesktop.portal.IBus"_cs;
|
||||
constexpr auto kWebviewService = "org.telegram.desktop.GtkIntegration.WebviewHelper-%1-%2"_cs;
|
||||
|
||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
void PortalAutostart(bool start, bool silent) {
|
||||
|
|
|
@ -20,7 +20,6 @@ namespace Ui {
|
|||
namespace {
|
||||
|
||||
constexpr auto kDaysInWeek = 7;
|
||||
constexpr auto kMaxDaysForScroll = kDaysInWeek * 1000;
|
||||
constexpr auto kTooltipDelay = 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 {
|
||||
|
||||
constexpr auto kMaxChatEntryHistorySize = 50;
|
||||
constexpr auto kCacheBackgroundTimeout = 1 * crl::time(1000);
|
||||
constexpr auto kCacheBackgroundFastTimeout = crl::time(200);
|
||||
constexpr auto kBackgroundFadeDuration = crl::time(200);
|
||||
|
|
Loading…
Reference in a new issue