瀏覽代碼

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
             new_path = None
 
 
         if error_occurred:
         if error_occurred:
-            QtGui.QMessageBox.warning(
+            QtWidgets.QMessageBox.warning(
                 None,
                 None,
                 self.tr("Failed to display file selection dialog"),
                 self.tr("Failed to display file selection dialog"),
                 self.tr("Check if the qube {0} can be started and has a file"
                 self.tr("Check if the qube {0} can be started and has a file"