diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-08-23 16:05:53 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-08-23 16:05:53 +0200 |
commit | 0d152472475aae54385f47d709c59a792689f7b4 (patch) | |
tree | 3f737485e29fd0ccc4ff753f1b1f7b1255d722bb /application/dialogs | |
parent | b6ec2ac4b0eb8bce9d985691325b4406b1faf879 (diff) | |
download | MultiMC-0d152472475aae54385f47d709c59a792689f7b4.tar MultiMC-0d152472475aae54385f47d709c59a792689f7b4.tar.gz MultiMC-0d152472475aae54385f47d709c59a792689f7b4.tar.lz MultiMC-0d152472475aae54385f47d709c59a792689f7b4.tar.xz MultiMC-0d152472475aae54385f47d709c59a792689f7b4.zip |
NOISSUE remoce the old WM_CLASS workaround
Diffstat (limited to 'application/dialogs')
-rw-r--r-- | application/dialogs/AboutDialog.cpp | 2 | ||||
-rw-r--r-- | application/dialogs/CopyInstanceDialog.cpp | 2 | ||||
-rw-r--r-- | application/dialogs/IconPickerDialog.cpp | 2 | ||||
-rw-r--r-- | application/dialogs/NewInstanceDialog.cpp | 2 | ||||
-rw-r--r-- | application/dialogs/ProgressDialog.cpp | 2 | ||||
-rw-r--r-- | application/dialogs/UpdateDialog.cpp | 2 | ||||
-rw-r--r-- | application/dialogs/VersionSelectDialog.cpp | 2 |
7 files changed, 0 insertions, 14 deletions
diff --git a/application/dialogs/AboutDialog.cpp b/application/dialogs/AboutDialog.cpp index abcc76f2..fd61adde 100644 --- a/application/dialogs/AboutDialog.cpp +++ b/application/dialogs/AboutDialog.cpp @@ -17,7 +17,6 @@ #include "ui_AboutDialog.h" #include <QIcon> #include "MultiMC.h" -#include "Platform.h" #include "BuildConfig.h" #include <net/NetJob.h> @@ -73,7 +72,6 @@ QString getCreditsHtml(QStringList patrons) AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AboutDialog) { - MultiMCPlatform::fixWM_CLASS(this); ui->setupUi(this); QString chtml = getCreditsHtml(QStringList()); diff --git a/application/dialogs/CopyInstanceDialog.cpp b/application/dialogs/CopyInstanceDialog.cpp index 5b8e3096..0e94540c 100644 --- a/application/dialogs/CopyInstanceDialog.cpp +++ b/application/dialogs/CopyInstanceDialog.cpp @@ -20,7 +20,6 @@ #include "CopyInstanceDialog.h" #include "ui_CopyInstanceDialog.h" -#include "Platform.h" #include "dialogs/IconPickerDialog.h" #include "BaseVersion.h" @@ -32,7 +31,6 @@ CopyInstanceDialog::CopyInstanceDialog(InstancePtr original, QWidget *parent) :QDialog(parent), ui(new Ui::CopyInstanceDialog), m_original(original) { - MultiMCPlatform::fixWM_CLASS(this); ui->setupUi(this); resize(minimumSizeHint()); layout()->setSizeConstraint(QLayout::SetFixedSize); diff --git a/application/dialogs/IconPickerDialog.cpp b/application/dialogs/IconPickerDialog.cpp index cafd47b7..7bde6fd0 100644 --- a/application/dialogs/IconPickerDialog.cpp +++ b/application/dialogs/IconPickerDialog.cpp @@ -22,7 +22,6 @@ #include "IconPickerDialog.h" #include "ui_IconPickerDialog.h" -#include "Platform.h" #include "groupview/InstanceDelegate.h" #include "icons/IconList.h" @@ -30,7 +29,6 @@ IconPickerDialog::IconPickerDialog(QWidget *parent) : QDialog(parent), ui(new Ui::IconPickerDialog) { - MultiMCPlatform::fixWM_CLASS(this); ui->setupUi(this); setWindowModality(Qt::WindowModal); diff --git a/application/dialogs/NewInstanceDialog.cpp b/application/dialogs/NewInstanceDialog.cpp index 661f5c53..658302a8 100644 --- a/application/dialogs/NewInstanceDialog.cpp +++ b/application/dialogs/NewInstanceDialog.cpp @@ -23,7 +23,6 @@ #include <tasks/Task.h> #include <InstanceList.h> -#include "Platform.h" #include "VersionSelectDialog.h" #include "ProgressDialog.h" #include "IconPickerDialog.h" @@ -59,7 +58,6 @@ public: NewInstanceDialog::NewInstanceDialog(QWidget *parent) : QDialog(parent), ui(new Ui::NewInstanceDialog) { - MultiMCPlatform::fixWM_CLASS(this); ui->setupUi(this); resize(minimumSizeHint()); layout()->setSizeConstraint(QLayout::SetFixedSize); diff --git a/application/dialogs/ProgressDialog.cpp b/application/dialogs/ProgressDialog.cpp index 939c5870..83f82d33 100644 --- a/application/dialogs/ProgressDialog.cpp +++ b/application/dialogs/ProgressDialog.cpp @@ -19,11 +19,9 @@ #include <QKeyEvent> #include "tasks/Task.h" -#include "Platform.h" ProgressDialog::ProgressDialog(QWidget *parent) : QDialog(parent), ui(new Ui::ProgressDialog) { - MultiMCPlatform::fixWM_CLASS(this); ui->setupUi(this); this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); setSkipButton(false); diff --git a/application/dialogs/UpdateDialog.cpp b/application/dialogs/UpdateDialog.cpp index 4240e3d5..4661bcb5 100644 --- a/application/dialogs/UpdateDialog.cpp +++ b/application/dialogs/UpdateDialog.cpp @@ -1,6 +1,5 @@ #include "UpdateDialog.h" #include "ui_UpdateDialog.h" -#include "Platform.h" #include <QDebug> #include "MultiMC.h" #include <settings/SettingsObject.h> @@ -10,7 +9,6 @@ UpdateDialog::UpdateDialog(bool hasUpdate, QWidget *parent) : QDialog(parent), ui(new Ui::UpdateDialog) { - MultiMCPlatform::fixWM_CLASS(this); ui->setupUi(this); auto channel = MMC->settings()->get("UpdateChannel").toString(); if(hasUpdate) diff --git a/application/dialogs/VersionSelectDialog.cpp b/application/dialogs/VersionSelectDialog.cpp index 57514fe7..df72189b 100644 --- a/application/dialogs/VersionSelectDialog.cpp +++ b/application/dialogs/VersionSelectDialog.cpp @@ -20,7 +20,6 @@ #include <dialogs/ProgressDialog.h> #include "CustomMessageBox.h" -#include "Platform.h" #include <BaseVersion.h> #include <BaseVersionList.h> @@ -34,7 +33,6 @@ VersionSelectDialog::VersionSelectDialog(BaseVersionList *vlist, QString title, bool cancelable) : QDialog(parent), ui(new Ui::VersionSelectDialog) { - MultiMCPlatform::fixWM_CLASS(this); ui->setupUi(this); setWindowModality(Qt::WindowModal); setWindowTitle(title); |