Version 4.9: Fix build with GCC.

This commit is contained in:
John Preston 2023-08-15 00:33:18 +02:00
parent b1cf6c57b3
commit 2e6abf0bed
2 changed files with 2 additions and 1 deletions

View file

@ -291,7 +291,6 @@ void EditPrivacyBox::setupContent() {
return Settings::ExceptionUsersCount(exceptions(exception)); return Settings::ExceptionUsersCount(exceptions(exception));
})); }));
auto text = _controller->exceptionButtonTextKey(exception); auto text = _controller->exceptionButtonTextKey(exception);
const auto always = (exception == Exception::Always);
const auto button = content->add( const auto button = content->add(
object_ptr<Ui::SlideWrap<Button>>( object_ptr<Ui::SlideWrap<Button>>(
content, content,

View file

@ -16,6 +16,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include <private/qdrawhelper_p.h> #include <private/qdrawhelper_p.h>
#endif // LIB_FFMPEG_USE_QT_PRIVATE_API #endif // LIB_FFMPEG_USE_QT_PRIVATE_API
#include <deque>
extern "C" { extern "C" {
#include <libavutil/opt.h> #include <libavutil/opt.h>
#if !defined DESKTOP_APP_USE_PACKAGED && !defined Q_OS_WIN && !defined Q_OS_MAC #if !defined DESKTOP_APP_USE_PACKAGED && !defined Q_OS_WIN && !defined Q_OS_MAC