|
12 | 12 | import functools |
13 | 13 | import urllib |
14 | 14 |
|
15 | | -from PyQt5.QtCore import Qt |
16 | | -from PyQt5.QtGui import QIcon, QFont |
17 | | -from PyQt5.QtWidgets import QApplication, QWidget, QTextEdit, QPushButton, QLabel, QLineEdit, QMessageBox, QDialog, \ |
18 | | - QComboBox, QScrollArea, QVBoxLayout, QFileDialog, QTabWidget, QGroupBox |
| 15 | +from PyQt5.QtCore import * |
| 16 | +from PyQt5.QtGui import * |
| 17 | +from PyQt5.QtWidgets import * |
19 | 18 |
|
20 | 19 |
|
21 | 20 | class mainWindow(QWidget): |
@@ -347,7 +346,6 @@ def __init__(self, parent=None): |
347 | 346 |
|
348 | 347 | # Same drill. Does visible things. |
349 | 348 | def initUI(self): |
350 | | - self.setWindowFlag(Qt.WindowContextHelpButtonHint, False) |
351 | 349 | self.setWindowTitle(self.title) |
352 | 350 | self.setGeometry(self.left, self.top, 480, 240) |
353 | 351 | self.setFixedSize(self.size()) |
@@ -408,7 +406,6 @@ class instanceWindow(QDialog): |
408 | 406 | def __init__(self, parent=None): |
409 | 407 | super().__init__(parent) |
410 | 408 | self.progressWin = installWindow(self) |
411 | | - self.setWindowFlag(Qt.WindowContextHelpButtonHint, False) |
412 | 409 | self.getModpackRepo.result.connect(self.updateRepo) |
413 | 410 | optionWindow.launcherConfig = utils.loadSettings(self) |
414 | 411 | screen_resolution = app.desktop().screenGeometry() |
@@ -686,7 +683,6 @@ class installWindow(QDialog): |
686 | 683 | # Same drill. Does background things. |
687 | 684 | def __init__(self, parent=None): |
688 | 685 | super().__init__(parent) |
689 | | - self.setWindowFlag(Qt.WindowContextHelpButtonHint, False) |
690 | 686 | screen_resolution = app.desktop().screenGeometry() |
691 | 687 | self.title = config.NAME + " " + config.VER + " Modpack Export Wizard" |
692 | 688 | self.setWindowIcon(QIcon(config.ICON)) |
@@ -728,8 +724,6 @@ class exportWindow(QDialog): |
728 | 724 | # Same drill. Does background things. |
729 | 725 | def __init__(self, parent=None): |
730 | 726 | super().__init__(parent) |
731 | | - self.setWindowFlag(Qt.WindowCloseButtonHint, False) |
732 | | - self.setWindowFlag(Qt.WindowContextHelpButtonHint, False) |
733 | 727 | screen_resolution = app.desktop().screenGeometry() |
734 | 728 | self.title = config.NAME + " " + config.VER + " Modpack Installer" |
735 | 729 | self.setWindowIcon(QIcon(config.ICON)) |
|
0 commit comments