Beta version 1.8.5: Fix build on macOS.

This commit is contained in:
John Preston 2019-09-08 23:04:21 +03:00
parent 9a521c5340
commit b98e02f326
6 changed files with 12 additions and 1 deletions

View File

@ -286,6 +286,8 @@ AbstractBox::AbstractBox(
}, lifetime());
}
AbstractBox::~AbstractBox() = default;
void AbstractBox::setLayerType(bool layerType) {
_layerType = layerType;
updateTitlePosition();

View File

@ -275,6 +275,7 @@ public:
AbstractBox(
not_null<Window::LayerStackWidget*> layer,
object_ptr<BoxContent> content);
~AbstractBox();
void parentResized() override;

View File

@ -11,6 +11,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "lang/lang_keys.h"
#include "styles/style_window.h"
#include <QtWidgets/QApplication>
#include <QtWidgets/QDesktopWidget>
#include <Cocoa/Cocoa.h>
#include <CoreFoundation/CFURL.h>

View File

@ -11,6 +11,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "platform/mac/specific_mac_p.h"
#include "base/timer.h"
#include <QtWidgets/QMenuBar>
namespace Platform {
class MainWindow : public Window::MainWindow {

View File

@ -12,6 +12,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mainwindow.h"
#include "mainwidget.h"
#include "core/application.h"
#include "core/sandbox.h"
#include "main/main_session.h"
#include "history/history.h"
#include "history/history_widget.h"
@ -32,7 +33,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "platform/mac/mac_utilities.h"
#include "ui/widgets/input_fields.h"
#include <QtGui/QGuiApplication>
#include <QtWidgets/QApplication>
#include <QtGui/QClipboard>
#include <Cocoa/Cocoa.h>

View File

@ -18,6 +18,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "platform/mac/mac_utilities.h"
#include <QtGui/QDesktopServices>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDesktopWidget>
#include <cstdlib>
#include <execinfo.h>