Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
fix: hide maximize button.
Browse files Browse the repository at this point in the history
Change-Id: I6ea63a0f4d5e41668e575e9fe64dfa646fdb5d50
  • Loading branch information
reionwong committed Feb 28, 2018
1 parent e00d1c1 commit b0a6fc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepin-font-installer/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ MainWindow::MainWindow(QWidget *parent)
m_singleFilePage(new SingleFilePage),
m_multiFilePage(new MultiFilePage)
{
titlebar()->setWindowFlags(titlebar()->windowFlags() & ~Qt::WindowMaximizeButtonHint);
titlebar()->setIcon(QIcon(":/images/icon.svg"));
titlebar()->setTitle("");
#if DTK_VERSION >= 0x02000600
Expand Down

0 comments on commit b0a6fc5

Please sign in to comment.