2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Add option to disable title widget (#44)

This commit is contained in:
ilya-fedin
2020-05-17 21:59:33 +04:00
committed by GitHub
parent d799c2492c
commit 1b762e83ed
8 changed files with 80 additions and 20 deletions

View File

@@ -357,7 +357,7 @@ void MainWindow::init() {
updatePalette();
if ((_title = Platform::CreateTitleWidget(this))) {
if (!UseNativeDecorations() && (_title = Platform::CreateTitleWidget(this))) {
_title->init();
}