Skip to content

Commit fddc010

Browse files
committed
Fixed some issues with path loading and Windows.
1 parent 66431d2 commit fddc010

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

command_line.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
def get_file(path):
6464
parts = path.split('/')
6565
independent_path = utils.path_join(CWD, *parts)
66-
if utils.is_windows() and os.path.isabs(independent_path):
67-
independent_path = u'//?/' + independent_path
6866
return independent_path
6967

7068
__version__ = "v0.0.0"

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class ExistingProjectDialog(QtGui.QDialog):
3434
def __init__(self, recent_projects, directory_callback, parent=None):
3535
super(ExistingProjectDialog, self).__init__(parent)
3636
self.setWindowTitle('Open Project Folder')
37+
self.setWindowIcon(QtGui.QIcon(get_file('files/images/icon.png')))
3738
self.setMinimumWidth(500)
38-
self.parent().menuBar().hide()
3939

4040
group_box = QtGui.QGroupBox('Existing Projects')
4141
gbox_layout = QtGui.QVBoxLayout()

utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ def get_data_path(dir_path):
5151
def get_data_file_path(file_path):
5252
parts = file_path.split('/')
5353
data_path = get_data_path('/'.join(parts[:-1]))
54-
if is_windows() and os.path.isabs(data_path):
55-
data_path = u'//?/' + data_path
5654
return path_join(data_path, parts[-1])
5755

5856
def log(*args):

0 commit comments

Comments
 (0)