mirror of
https://github.com/Syncplay/syncplay
synced 2025-03-03 10:17:56 +00:00
Make openHelp OS-specific in Main GUI
This commit is contained in:
parent
143bcd6e8f
commit
e8cd6ac41d
@ -111,6 +111,11 @@ class MainWindow(QtGui.QMainWindow):
|
||||
self.showMessage("Invalid offset value", True)
|
||||
|
||||
def openUserGuide(self):
|
||||
if sys.platform.startswith('linux'):
|
||||
self.QtGui.QDesktopServices.openUrl("http://syncplay.pl/guide/linux/")
|
||||
elif sys.platform.startswith('win'):
|
||||
self.QtGui.QDesktopServices.openUrl("http://syncplay.pl/guide/windows/")
|
||||
else:
|
||||
self.QtGui.QDesktopServices.openUrl("http://syncplay.pl/guide/")
|
||||
|
||||
def addTopLayout(self, window):
|
||||
|
Loading…
Reference in New Issue
Block a user