From 0d152472475aae54385f47d709c59a792689f7b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 23 Aug 2015 16:05:53 +0200 Subject: NOISSUE remoce the old WM_CLASS workaround --- application/dialogs/AboutDialog.cpp | 2 -- application/dialogs/CopyInstanceDialog.cpp | 2 -- application/dialogs/IconPickerDialog.cpp | 2 -- application/dialogs/NewInstanceDialog.cpp | 2 -- application/dialogs/ProgressDialog.cpp | 2 -- application/dialogs/UpdateDialog.cpp | 2 -- application/dialogs/VersionSelectDialog.cpp | 2 -- 7 files changed, 14 deletions(-) (limited to 'application/dialogs') 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 #include "MultiMC.h" -#include "Platform.h" #include "BuildConfig.h" #include @@ -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 #include -#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 #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 #include "MultiMC.h" #include @@ -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 #include "CustomMessageBox.h" -#include "Platform.h" #include #include @@ -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); -- cgit v1.2.3