Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
3617f5b4
Commit
3617f5b4
authored
Jul 02, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Close #2906
parent
1796b11a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+5
-0
modules/gui/qt4/dialogs/extended.hpp
modules/gui/qt4/dialogs/extended.hpp
+1
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+10
-2
No files found.
modules/gui/qt4/dialogs/extended.cpp
View file @
3617f5b4
...
...
@@ -113,6 +113,11 @@ void ExtendedDialog::showTab( int i )
show
();
}
int
ExtendedDialog
::
currentTab
()
{
return
mainTabW
->
currentIndex
();
}
void
ExtendedDialog
::
changedItem
(
int
i_status
)
{
if
(
i_status
!=
END_S
)
return
;
...
...
modules/gui/qt4/dialogs/extended.hpp
View file @
3617f5b4
...
...
@@ -46,6 +46,7 @@ public:
instance
=
NULL
;
}
void
showTab
(
int
i
);
int
currentTab
();
private:
ExtendedDialog
(
intf_thread_t
*
);
virtual
~
ExtendedDialog
();
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
3617f5b4
...
...
@@ -180,12 +180,20 @@ void DialogsProvider::prefsDialog()
void
DialogsProvider
::
extendedDialog
()
{
if
(
!
ExtendedDialog
::
getInstance
(
p_intf
)
->
isVisible
()
||
/* Hidden */
ExtendedDialog
::
getInstance
(
p_intf
)
->
currentTab
()
!=
0
)
/* wrong tab */
ExtendedDialog
::
getInstance
(
p_intf
)
->
showTab
(
0
);
else
ExtendedDialog
::
getInstance
(
p_intf
)
->
hide
();
}
void
DialogsProvider
::
synchroDialog
()
{
if
(
!
ExtendedDialog
::
getInstance
(
p_intf
)
->
isVisible
()
||
/* Hidden */
ExtendedDialog
::
getInstance
(
p_intf
)
->
currentTab
()
!=
2
)
/* wrong tab */
ExtendedDialog
::
getInstance
(
p_intf
)
->
showTab
(
2
);
else
ExtendedDialog
::
getInstance
(
p_intf
)
->
hide
();
}
void
DialogsProvider
::
messagesDialog
()
...
...
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