2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build in Xcode / GCC.

This commit is contained in:
John Preston
2017-11-19 20:31:58 +04:00
parent f1f955b7ac
commit bc7c88c511
3 changed files with 4 additions and 1 deletions

View File

@@ -337,7 +337,9 @@ MainWindow::Private::~Private() {
MainWindow::MainWindow()
: _private(std::make_unique<Private>(this)) {
#ifndef OS_MAC_OLD
auto forceOpenGL = std::make_unique<QOpenGLWidget>(this);
#endif // !OS_MAC_OLD
trayImg = st::macTrayIcon.instance(QColor(0, 0, 0, 180), dbisOne);
trayImgSel = st::macTrayIcon.instance(QColor(255, 255, 255), dbisOne);