Satisfy linter
This commit is contained in:
parent
0f03c06dab
commit
6929c04c72
|
@ -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
|
||||
|
|
|
@ -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__()
|
||||
|
|
Loading…
Reference in a new issue