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

Beta version 10019002: fixed build for Xcode.

This commit is contained in:
John Preston
2016-11-06 21:45:50 +03:00
parent dac96bfc4a
commit 0326976473
6 changed files with 23 additions and 12 deletions

View File

@@ -31,8 +31,8 @@ TitleWidget::TitleWidget(QWidget *parent) : Window::TitleWidget(parent)
, _minimize(this, st::titleButtonMinimize)
, _maximizeRestore(this, st::titleButtonMaximize)
, _close(this, st::titleButtonClose)
, _maximized(parent->window()->windowState() & Qt::WindowMaximized)
, _shadow(this, st::titleShadow) {
, _shadow(this, st::titleShadow)
, _maximized(parent->window()->windowState() & Qt::WindowMaximized) {
_minimize->setClickedCallback([this]() {
window()->setWindowState(Qt::WindowMinimized);
_minimize->clearState();