mirror of
https://github.com/Syncplay/syncplay
synced 2025-03-02 17:57:32 +00:00
Make openHelp OS-specific in Main GUI
This commit is contained in:
parent
143bcd6e8f
commit
e8cd6ac41d
@ -111,7 +111,12 @@ class MainWindow(QtGui.QMainWindow):
|
||||
self.showMessage("Invalid offset value", True)
|
||||
|
||||
def openUserGuide(self):
|
||||
self.QtGui.QDesktopServices.openUrl("http://syncplay.pl/guide/")
|
||||
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):
|
||||
window.topSplit = QtGui.QSplitter(Qt.Horizontal)
|
||||
|
Loading…
Reference in New Issue
Block a user