Skip to content

Commit

Permalink
Fix: disable fullscreen button
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdust committed May 15, 2017
1 parent 6df2d78 commit b3af67c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WamaCry/wamacry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WamaCry::WamaCry(QWidget *parent) :
ui(new Ui::WamaCry)
{
ui->setupUi(this);

setWindowFlags(windowFlags()& ~Qt::WindowMaximizeButtonHint);
setFixedSize(this->width(), this->height());
// read settings
QSettings settings("./mod/config.ini", QSettings::IniFormat);
settings.setIniCodec("UTF8");
Expand Down
3 changes: 3 additions & 0 deletions WamaCry/wamacry.ui
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<height>612</height>
</rect>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="windowTitle">
<string>Wama Decrypt0r 3.0</string>
</property>
Expand Down

0 comments on commit b3af67c

Please sign in to comment.