2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix window title on Windows 7.

Regression was introduced in dd68c7e90.

Fixes #6106.
This commit is contained in:
John Preston
2019-06-07 14:30:30 +03:00
parent abfe685697
commit 1225c9194a
12 changed files with 135 additions and 140 deletions

View File

@@ -11,7 +11,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "platform/win/notifications_manager_win.h"
#include "platform/win/windows_app_user_model_id.h"
#include "platform/win/windows_dlls.h"
#include "platform/win/windows_event_filter.h"
#include "lang/lang_keys.h"
#include "mainwindow.h"
#include "mainwidget.h"
@@ -81,10 +80,6 @@ namespace {
};
QAbstractNativeEventFilter *psNativeEventFilter() {
return EventFilter::createInstance();
}
void psDeleteDir(const QString &dir) {
std::wstring wDir = QDir::toNativeSeparators(dir).toStdWString();
WCHAR path[4096];
@@ -286,7 +281,6 @@ void start() {
}
void finish() {
EventFilter::destroy();
}
bool IsApplicationActive() {