Fix build on Linux.

This commit is contained in:
John Preston 2020-10-02 17:29:28 +03:00
parent 18cb26fed6
commit 4ebc62afd2
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/platform/ui_platform_utility.h"
#include "history/history.h"
#include "window/themes/window_theme.h"
#include "window/window_title_qt.h" // kShowAfterWindowFlagChangeDelay
#include "window/window_session_controller.h"
#include "window/window_lock_widgets.h"
#include "window/window_outdated_bar.h"

View File

@ -97,7 +97,7 @@ void TitleWidgetQt::toggleFramelessWindow(bool enabled) {
top->setWindowFlag(Qt::FramelessWindowHint, enabled);
if (!hidden) {
base::call_delayed(
kShowAfterFramelessToggleDelay,
kShowAfterWindowFlagChangeDelay,
top,
[=] { top->show(); });
}