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
953140e5
Commit
953140e5
authored
Jun 21, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: be sure to use everywhere the saved path.
And also fix the support for it on Windows.
parent
2c622a1a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+1
-1
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+1
-1
modules/gui/qt4/util/qt_dirs.hpp
modules/gui/qt4/util/qt_dirs.hpp
+1
-1
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
953140e5
...
...
@@ -164,7 +164,7 @@ FileOpenPanel::~FileOpenPanel()
void
FileOpenPanel
::
browseFile
()
{
QStringList
files
=
QFileDialog
::
getOpenFileNames
(
this
)
;
QStringList
files
=
QFileDialog
::
getOpenFileNames
(
this
,
qtr
(
"Select one or multiple files"
),
p_intf
->
p_sys
->
filepath
)
;
foreach
(
const
QString
&
file
,
files
)
{
QListWidgetItem
*
item
=
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
953140e5
...
...
@@ -466,7 +466,7 @@ void DialogsProvider::openUrlDialog()
**/
static
void
openDirectory
(
intf_thread_t
*
p_intf
,
bool
pl
,
bool
go
)
{
QString
dir
=
QFileDialog
::
getExistingDirectory
(
NULL
,
qtr
(
"Open Directory"
)
);
QString
dir
=
QFileDialog
::
getExistingDirectory
(
NULL
,
qtr
(
"Open Directory"
)
,
p_intf
->
p_sys
->
filepath
);
if
(
!
dir
.
isEmpty
()
)
{
...
...
modules/gui/qt4/util/qt_dirs.hpp
View file @
953140e5
...
...
@@ -45,7 +45,7 @@ static inline QString removeTrailingSlash( QString s )
return
s
;
}
#define savedirpathFromFile( a ) p_intf->p_sys->filepath =
QFileInfo( a ).path(
)
#define savedirpathFromFile( a ) p_intf->p_sys->filepath =
toNativeSeparators( QFileInfo( a ).path()
)
#define toNativeSepNoSlash( a ) toNativeSeparators( removeTrailingSlash( a ) )
static
inline
QString
colon_escape
(
QString
s
)
...
...
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