1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-17 11:10:31 +01:00

Make it possible to maximize console dialog

This commit is contained in:
Jonas Kvinge 2020-05-26 18:27:01 +02:00
parent 5dbdde3f2b
commit bbb4162867
2 changed files with 5 additions and 2 deletions

View File

@ -42,6 +42,9 @@
Console::Console(Application *app, QWidget *parent) : QDialog(parent), app_(app) { Console::Console(Application *app, QWidget *parent) : QDialog(parent), app_(app) {
ui_.setupUi(this); ui_.setupUi(this);
setWindowFlags(windowFlags()|Qt::WindowMaximizeButtonHint);
connect(ui_.run, SIGNAL(clicked()), SLOT(RunQuery())); connect(ui_.run, SIGNAL(clicked()), SLOT(RunQuery()));
QFont font("Monospace"); QFont font("Monospace");

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>545</width> <width>600</width>
<height>347</height> <height>360</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">