diff --git a/src/lib/other/aboutdialog.cpp b/src/lib/other/aboutdialog.cpp index 81324924c..e4379bdd6 100644 --- a/src/lib/other/aboutdialog.cpp +++ b/src/lib/other/aboutdialog.cpp @@ -1,6 +1,6 @@ /* ============================================================ * Falkon - Qt web browser -* Copyright (C) 2010-2017 David Rosca +* Copyright (C) 2010-2018 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,10 +26,6 @@ #include #include -#ifdef Q_OS_WIN -#include -#endif - AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent) , ui(new Ui::AboutDialog) @@ -40,21 +36,10 @@ AboutDialog::AboutDialog(QWidget* parent) ui->setupUi(this); ui->label->setPixmap(QIcon(QSL(":icons/other/about.png")).pixmap(300, 130)); -#ifdef Q_OS_WIN - if (QtWin::isCompositionEnabled()) { - QtWin::extendFrameIntoClientArea(this, -1, -1, -1, -1); - ui->verticalLayout->setContentsMargins(0, 0, 0, 0); - } -#endif - connect(ui->buttonBox, SIGNAL(clicked(QAbstractButton*)), this, SLOT(close())); connect(ui->authorsButton, SIGNAL(clicked()), this, SLOT(buttonClicked())); showAbout(); - -#ifdef Q_OS_WIN - resize(300, height()); -#endif } void AboutDialog::buttonClicked()