From 7b7348063ea28c8a02606975cf2ccace84f45880 Mon Sep 17 00:00:00 2001 From: skyjake Date: Tue, 20 Aug 2013 15:44:41 +0300 Subject: [PATCH] Updater|UI|Client: Removed old UpdaterDialog base class This was a Qt specific thing. --- doomsday/client/client.pro | 3 +- doomsday/client/src/updater/updaterdialog.cpp | 27 ------------- doomsday/client/src/updater/updaterdialog.h | 38 ------------------- 3 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 doomsday/client/src/updater/updaterdialog.cpp delete mode 100644 doomsday/client/src/updater/updaterdialog.h diff --git a/doomsday/client/client.pro b/doomsday/client/client.pro index 6dc4a635f6..05c826dd73 100644 --- a/doomsday/client/client.pro +++ b/doomsday/client/client.pro @@ -432,8 +432,7 @@ DENG_HEADERS += \ include/world/world.h \ src/updater/downloaddialog.h \ src/updater/processcheckdialog.h \ - src/updater/updateavailabledialog.h \ - src/updater/updaterdialog.h + src/updater/updateavailabledialog.h INCLUDEPATH += \ $$DENG_INCLUDE_DIR \ diff --git a/doomsday/client/src/updater/updaterdialog.cpp b/doomsday/client/src/updater/updaterdialog.cpp deleted file mode 100644 index c3e06e3448..0000000000 --- a/doomsday/client/src/updater/updaterdialog.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** @file updaterdialog.cpp Common base class for the updater dialogs. - * @ingroup updater - * - * @authors Copyright © 2012-2013 Jaakko Keränen - * - * @par License - * GPL: http://www.gnu.org/licenses/gpl.html - * - * 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 the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. This program is distributed in the hope that it - * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General - * Public License for more details. You should have received a copy of the GNU - * General Public License along with this program; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA - */ - -#include "updaterdialog.h" - -UpdaterDialog::UpdaterDialog(QWidget *parent) : QDialog(parent) -{ - // This will remove the "?" context help button in Windows. - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); -} diff --git a/doomsday/client/src/updater/updaterdialog.h b/doomsday/client/src/updater/updaterdialog.h deleted file mode 100644 index 3ac65767b0..0000000000 --- a/doomsday/client/src/updater/updaterdialog.h +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @file updaterdialog.h - * Common base class for the updater dialogs. @ingroup updater - * - * @authors Copyright © 2012-2013 Jaakko Keränen - * - * @par License - * GPL: http://www.gnu.org/licenses/gpl.html - * - * 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 the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. This program is distributed in the hope that it - * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General - * Public License for more details. You should have received a copy of the GNU - * General Public License along with this program; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA - */ - -#ifndef LIBDENG_UPDATERDIALOG_H -#define LIBDENG_UPDATERDIALOG_H - -#include - -/** - * Base class for all the updater dialogs. - */ -class UpdaterDialog : public QDialog -{ - Q_OBJECT - -public: - explicit UpdaterDialog(QWidget *parent = 0); -}; - -#endif // UPDATERDIALOG_H