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
a68ca69e
Commit
a68ca69e
authored
May 12, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: main interface: add some better debugging
parent
d80d6da7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+11
-3
No files found.
modules/gui/qt4/main_interface.cpp
View file @
a68ca69e
...
@@ -529,7 +529,11 @@ inline void MainInterface::restoreStackOldWidget()
...
@@ -529,7 +529,11 @@ inline void MainInterface::restoreStackOldWidget()
inline
void
MainInterface
::
showTab
(
QWidget
*
widget
)
inline
void
MainInterface
::
showTab
(
QWidget
*
widget
)
{
{
#ifdef DEBUG_INTF
#ifdef DEBUG_INTF
msg_Warn
(
p_intf
,
"Old stackCentralOldWidget %i"
,
stackCentralW
->
indexOf
(
stackCentralOldWidget
)
);
if
(
stackCentralOldWidget
)
msg_Dbg
(
p_intf
,
"Old stackCentralOldWidget %s at index %i"
,
stackCentralOldWidget
->
metaObject
()
->
className
(),
stackCentralW
->
indexOf
(
stackCentralOldWidget
)
);
msg_Dbg
(
p_intf
,
"ShowTab request for %s"
,
widget
->
metaObject
()
->
className
()
);
#endif
#endif
stackCentralOldWidget
=
stackCentralW
->
currentWidget
();
stackCentralOldWidget
=
stackCentralW
->
currentWidget
();
...
@@ -570,8 +574,12 @@ inline void MainInterface::showTab( QWidget *widget )
...
@@ -570,8 +574,12 @@ inline void MainInterface::showTab( QWidget *widget )
resizeStack
(
stackWidgetsSizes
[
widget
].
width
(),
stackWidgetsSizes
[
widget
].
height
()
);
resizeStack
(
stackWidgetsSizes
[
widget
].
width
(),
stackWidgetsSizes
[
widget
].
height
()
);
#ifdef DEBUG_INTF
#ifdef DEBUG_INTF
msg_Warn
(
p_intf
,
"State change %i"
,
stackCentralW
->
currentIndex
()
);
msg_Dbg
(
p_intf
,
"Stack state changed to %s, index %i"
,
msg_Warn
(
p_intf
,
"New stackCentralOldWidget %i"
,
stackCentralW
->
indexOf
(
stackCentralOldWidget
)
);
stackCentralW
->
currentWidget
()
->
metaObject
()
->
className
(),
stackCentralW
->
currentIndex
()
);
msg_Dbg
(
p_intf
,
"New stackCentralOldWidget %s at index %i"
,
stackCentralOldWidget
->
metaObject
()
->
className
(),
stackCentralW
->
indexOf
(
stackCentralOldWidget
)
);
#endif
#endif
/* This part is done later, to account for the new pl size */
/* This part is done later, to account for the new pl size */
...
...
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