UI: Add maximize and minimize support to Log Viewer

This commit is contained in:
Matt Gajownik
2020-08-25 14:30:21 +10:00
parent fca5e45f22
commit a4e1049e67
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -14,7 +14,8 @@
OBSLogViewer::OBSLogViewer(QWidget *parent) : QDialog(parent)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowFlags(windowFlags() & Qt::WindowMaximizeButtonHint &
~Qt::WindowContextHelpButtonHint);
QVBoxLayout *layout = new QVBoxLayout();
layout->setContentsMargins(0, 0, 0, 0);