Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
3101cfab
Commit
3101cfab
authored
Sep 18, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Forgotten native separators in open panel (cosmetic) and in preferences.
Should repair skins options.
parent
98449e55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+1
-1
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+1
-1
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
3101cfab
...
@@ -408,7 +408,7 @@ void DiscOpenPanel::browseDevice()
...
@@ -408,7 +408,7 @@ void DiscOpenPanel::browseDevice()
QString
dir
=
QFileDialog
::
getExistingDirectory
(
0
,
QString
dir
=
QFileDialog
::
getExistingDirectory
(
0
,
qtr
(
I_DEVICE_TOOLTIP
)
);
qtr
(
I_DEVICE_TOOLTIP
)
);
if
(
!
dir
.
isEmpty
())
{
if
(
!
dir
.
isEmpty
())
{
ui
.
deviceCombo
->
setEditText
(
dir
);
ui
.
deviceCombo
->
setEditText
(
toNativeSeparators
(
dir
)
);
}
}
updateMRL
();
updateMRL
();
}
}
...
...
modules/gui/qt4/components/preferences_widgets.cpp
View file @
3101cfab
...
@@ -337,7 +337,7 @@ void DirectoryConfigControl::updateField()
...
@@ -337,7 +337,7 @@ void DirectoryConfigControl::updateField()
QFileDialog
::
ShowDirsOnly
|
QFileDialog
::
ShowDirsOnly
|
QFileDialog
::
DontResolveSymlinks
);
QFileDialog
::
DontResolveSymlinks
);
if
(
dir
.
isNull
()
)
return
;
if
(
dir
.
isNull
()
)
return
;
text
->
setText
(
dir
);
text
->
setText
(
toNativeSeparators
(
dir
)
);
}
}
#if 0
#if 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment