openFile hopefully now fully implemented in gui.py
This commit is contained in:
parent
d919a8c9e4
commit
43613aabd5
@ -312,8 +312,8 @@ class MainWindow(QtGui.QMainWindow):
|
|||||||
if sys.platform.startswith('linux'):
|
if sys.platform.startswith('linux'):
|
||||||
dropfilepath = unicode(urls[0].path())
|
dropfilepath = unicode(urls[0].path())
|
||||||
else:
|
else:
|
||||||
dropfilepath = unicode(urls[0].path())[1:] # Removes starting slash
|
dropfilepath = unicode(urls[0].path().replace("/","\\"))[1:] # Removes starting slash
|
||||||
self._syncplayClient.openFile(dropfilepath)
|
self._syncplayClient._player.openFile(dropfilepath)
|
||||||
|
|
||||||
def saveSettings(self):
|
def saveSettings(self):
|
||||||
settings = QSettings("Syncplay", "MainWindow")
|
settings = QSettings("Syncplay", "MainWindow")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user