Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
a04632a1
Commit
a04632a1
authored
Aug 24, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Esc key in the FileDialog should close it.
parent
2ee008ab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+4
-2
modules/gui/qt4/dialogs/open.hpp
modules/gui/qt4/dialogs/open.hpp
+2
-0
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
a04632a1
...
@@ -191,11 +191,13 @@ void FileOpenPanel::accept()
...
@@ -191,11 +191,13 @@ void FileOpenPanel::accept()
void
FileOpenBox
::
accept
()
void
FileOpenBox
::
accept
()
{
{
OpenDialog
::
getInstance
(
NULL
,
NULL
,
true
)
->
selectSlots
();
OpenDialog
::
getInstance
(
NULL
,
NULL
,
true
)
->
cancel
();
}
}
void
FileOpenBox
::
reject
()
void
FileOpenBox
::
reject
()
{}
{
OpenDialog
::
getInstance
(
NULL
,
NULL
,
true
)
->
selectSlots
();
}
/* Function called by Open Dialog when clicked on cancel */
/* Function called by Open Dialog when clicked on cancel */
void
FileOpenPanel
::
clear
()
void
FileOpenPanel
::
clear
()
...
...
modules/gui/qt4/dialogs/open.hpp
View file @
a04632a1
...
@@ -57,6 +57,8 @@ class QTabWidget;
...
@@ -57,6 +57,8 @@ class QTabWidget;
class
OpenDialog
:
public
QVLCDialog
class
OpenDialog
:
public
QVLCDialog
{
{
friend
class
FileOpenBox
;
Q_OBJECT
;
Q_OBJECT
;
public:
public:
static
OpenDialog
*
getInstance
(
QWidget
*
parent
,
intf_thread_t
*
p_intf
,
static
OpenDialog
*
getInstance
(
QWidget
*
parent
,
intf_thread_t
*
p_intf
,
...
...
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