mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix build on Linux.
This commit is contained in:
parent
18cb26fed6
commit
4ebc62afd2
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -97,7 +97,7 @@ void TitleWidgetQt::toggleFramelessWindow(bool enabled) {
|
|||
top->setWindowFlag(Qt::FramelessWindowHint, enabled);
|
||||
if (!hidden) {
|
||||
base::call_delayed(
|
||||
kShowAfterFramelessToggleDelay,
|
||||
kShowAfterWindowFlagChangeDelay,
|
||||
top,
|
||||
[=] { top->show(); });
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue