Read logs with user permissions
This commit is contained in:
parent
7a1c4f967c
commit
a633090593
@ -1464,7 +1464,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
|||||||
def show_log(self, action):
|
def show_log(self, action):
|
||||||
log = str(action.data().toString())
|
log = str(action.data().toString())
|
||||||
|
|
||||||
cmd = ['sudo', 'kdialog', '--textbox', log, '700', '450', '--title', log]
|
cmd = ['kdialog', '--textbox', log, '700', '450', '--title', log]
|
||||||
subprocess.Popen(cmd)
|
subprocess.Popen(cmd)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user