2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added disable-autoplay-next option.

This commit is contained in:
23rd
2022-03-05 12:40:49 +03:00
parent c6cdf0a4c4
commit f469cab7b0
3 changed files with 16 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/application.h"
#include "chat_helpers/tabbed_panel.h"
#include "lang/lang_keys.h"
#include "media/player/media_player_instance.h"
#include "window/window_peer_menu.h"
#include "window/window_session_controller.h"
#include "window/window_controller.h"
@@ -131,6 +132,7 @@ void SetupExperimental(
addToggle(ChatHelpers::kOptionTabbedPanelShowOnClick);
addToggle(Window::kOptionViewProfileInChatsListContextMenu);
addToggle(Ui::GL::kOptionAllowLinuxNvidiaOpenGL);
addToggle(Media::Player::kOptionDisableAutoplayNext);
}
} // namespace