mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Remove app module. Support delayed quit by Cmd+Q on macOS.
This commit is contained in:
@@ -20,7 +20,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "main/main_session.h"
|
||||
#include "boxes/abstract_box.h"
|
||||
#include "core/application.h"
|
||||
#include "app.h" // App::quitting.
|
||||
#include "styles/style_info.h"
|
||||
#include "styles/style_window.h"
|
||||
#include "styles/style_layers.h"
|
||||
@@ -297,7 +296,7 @@ void LayerWidget::closeHook() {
|
||||
}
|
||||
|
||||
LayerWidget::~LayerWidget() {
|
||||
if (!App::quitting()) {
|
||||
if (!Core::Quitting()) {
|
||||
restoreFloatPlayerDelegate();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user