1
0
Fork 0
mirror of synced 2024-06-03 11:14:42 +12:00

Satisfy linter

This commit is contained in:
aznd 2022-03-12 02:54:27 +01:00
parent 0f03c06dab
commit 6929c04c72
2 changed files with 1 additions and 5 deletions

View file

@ -1,4 +1,3 @@
from PyQt5.QtGui import QKeyEvent
from PyQt5.QtWidgets import QGroupBox, QTableWidgetItem, QMessageBox
import qtawesome
from rare.ui.components.tabs.games.env_vars import Ui_EnvVars
@ -185,7 +184,7 @@ class EnvVars(QGroupBox, Ui_EnvVars):
# should be just cleared. (And not deleted)
first_item = self.env_vars_table.item(index, 0)
# The first item needs to have some text, else we don't delete it.
if first_item is None:
return

View file

@ -5,7 +5,6 @@ from pathlib import Path
from typing import Tuple
from PyQt5.QtCore import QSettings, QThreadPool, Qt
from PyQt5.QtGui import QKeyEvent
from PyQt5.QtWidgets import (
QWidget,
QFileDialog,
@ -366,8 +365,6 @@ class GameSettings(QWidget, Ui_GameSettings):
self.env_vars.update_game(app_name)
class LinuxAppSettings(LinuxSettings):
def __init__(self):
super(LinuxAppSettings, self).__init__()