Преглед на файлове

Minor fix qt4 -> qt5

Pylint detected one more missing QtGui->QtWidgets change.
Marek Marczykowski-Górecki преди 4 години
родител
ревизия
b4b3588bf1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      qubesmanager/bootfromdevice.py

+ 1 - 1
qubesmanager/bootfromdevice.py

@@ -129,7 +129,7 @@ class VMBootFromDeviceWindow(ui_bootfromdevice.Ui_BootDialog,
             new_path = None
 
         if error_occurred:
-            QtGui.QMessageBox.warning(
+            QtWidgets.QMessageBox.warning(
                 None,
                 self.tr("Failed to display file selection dialog"),
                 self.tr("Check if the qube {0} can be started and has a file"