Browse Source

Cleanup

tags/1.9.5
falkTX 11 years ago
parent
commit
95c85ea75a
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      source/carla_style.py
  2. +2
    -2
      source/widgets/ledbutton.py

+ 2
- 2
source/carla_style.py View File

@@ -28,11 +28,11 @@ from carla_config import *


if config_UseQt5: if config_UseQt5:
from PyQt5.QtCore import Qt, QSettings from PyQt5.QtCore import Qt, QSettings
from PyQt5.QtGui import QColor, QFont, QPalette
from PyQt5.QtGui import QColor, QPalette
from PyQt5.QtWidgets import QApplication from PyQt5.QtWidgets import QApplication
else: else:
from PyQt4.QtCore import QSettings from PyQt4.QtCore import QSettings
from PyQt4.QtGui import QApplication, QColor, QFont, QPalette
from PyQt4.QtGui import QApplication, QColor, QPalette


# ------------------------------------------------------------------------------------------------------------ # ------------------------------------------------------------------------------------------------------------
# Imports (Custom) # Imports (Custom)


+ 2
- 2
source/widgets/ledbutton.py View File

@@ -25,11 +25,11 @@ from carla_config import *
# Imports (Global) # Imports (Global)


if config_UseQt5: if config_UseQt5:
from PyQt5.QtCore import qCritical, QRectF
from PyQt5.QtCore import QRectF
from PyQt5.QtGui import QPainter, QPixmap from PyQt5.QtGui import QPainter, QPixmap
from PyQt5.QtWidgets import QPushButton from PyQt5.QtWidgets import QPushButton
else: else:
from PyQt4.QtCore import qCritical, QRectF
from PyQt4.QtCore import QRectF
from PyQt4.QtGui import QPainter, QPixmap, QPushButton from PyQt4.QtGui import QPainter, QPixmap, QPushButton


# ------------------------------------------------------------------------------------------------------------ # ------------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save