Use SetMinimumSize in about dialog

This commit is contained in:
Jonas Kvinge
2020-06-08 23:40:15 +02:00
parent dfa684cccc
commit 033d56a4b3
3 changed files with 27 additions and 21 deletions

View File

@@ -32,7 +32,6 @@
#include "ui_about.h"
class QWidget;
class QShowEvent;
class About : public QDialog {
Q_OBJECT
@@ -40,9 +39,6 @@ class About : public QDialog {
public:
explicit About(QWidget *parent = nullptr);
protected:
void showEvent(QShowEvent*);
private:
struct Person {
Person(const QString &n, const QString &e = QString()) : name(n), email(e) {}