diff --git a/src/gui/AboutDialog.cpp b/src/gui/AboutDialog.cpp
index ebb18d2a..cbafb745 100644
--- a/src/gui/AboutDialog.cpp
+++ b/src/gui/AboutDialog.cpp
@@ -32,6 +32,9 @@ AboutDialog::AboutDialog(QWidget* parent)
{
m_ui->setupUi(this);
+ resize(minimumSize());
+ setWindowFlags(Qt::Sheet);
+
m_ui->nameLabel->setText(m_ui->nameLabel->text() + " " + KEEPASSX_VERSION);
QFont nameLabelFont = m_ui->nameLabel->font();
nameLabelFont.setPointSize(nameLabelFont.pointSize() + 4);
diff --git a/src/gui/AboutDialog.ui b/src/gui/AboutDialog.ui
index 4eb9ee56..e1e70680 100644
--- a/src/gui/AboutDialog.ui
+++ b/src/gui/AboutDialog.ui
@@ -7,7 +7,7 @@
0
0
479
- 488
+ 478
@@ -77,17 +77,51 @@
-
+
+
+ 0
+ 0
+
+
- <p>Website: <a href="https://keepassxc.org/">https://keepassxc.org/</a></p>
-<p>Report bugs at: <a href="https://github.com/keepassxreboot/keepassxc/issues">https://github.com/</a></p>
+ <p>Website: <a href="https://keepassxc.org/">https://keepassxc.org/</a></p>
true
+ -
+
+
+ <p>Report bugs at: <a href="https://github.com/keepassxreboot/keepassxc/issues">https://github.com/</a></p>
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+ QSizePolicy::Fixed
+
+
+
+ 20
+ 5
+
+
+
+
-
+
+
+ 0
+ 0
+
+
KeePassXC is distributed under the terms of the GNU General Public License (GPL) version 2 or (at your option) version 3.
@@ -107,23 +141,28 @@
0
- 10
+ 5
-
+
+
+ 0
+ 0
+
+
- <div>Main contributors:
+ <p>Main contributors:</p>
<ul>
<li>debfx (KeePassX)</li>
<li>droidmonkey</li>
<li>louib</li>
<li>phoerious<li>
<li>thezero</li>
-</ul>
-</div>
+</ul>
@@ -149,6 +188,12 @@
-
+
+
+ 0
+ 0
+
+
Include the following information whenever you report a bug:
@@ -156,6 +201,12 @@
-
+
+
+ 0
+ 0
+
+
true
diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp
index cf6ae040..36e66c12 100644
--- a/src/gui/MainWindow.cpp
+++ b/src/gui/MainWindow.cpp
@@ -523,7 +523,7 @@ void MainWindow::updateWindowTitle()
void MainWindow::showAboutDialog()
{
AboutDialog* aboutDialog = new AboutDialog(this);
- aboutDialog->show();
+ aboutDialog->open();
}
void MainWindow::switchToDatabases()