Minor fix qt4 -> qt5

Pylint detected one more missing QtGui->QtWidgets change.
This commit is contained in:
Marek Marczykowski-Górecki 2019-08-28 15:48:29 +02:00
parent 990e4abbbf
commit b4b3588bf1
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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"