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
14bdc015
Commit
14bdc015
authored
Feb 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: more leaks
parent
a430cde7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+3
-2
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+1
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+2
-2
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
14bdc015
...
...
@@ -280,8 +280,9 @@ void VisualSelector::next()
}
#endif
SpeedLabel
::
SpeedLabel
(
intf_thread_t
*
_p_intf
,
const
QString
text
)
:
QLabel
(
text
),
p_intf
(
_p_intf
)
SpeedLabel
::
SpeedLabel
(
intf_thread_t
*
_p_intf
,
const
QString
&
text
,
QWidget
*
parent
)
:
QLabel
(
text
,
parent
),
p_intf
(
_p_intf
)
{
setToolTip
(
qtr
(
"Current playback speed.
\n
Right click to adjust"
)
);
setContextMenuPolicy
(
Qt
::
CustomContextMenu
);
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
14bdc015
...
...
@@ -156,7 +156,7 @@ class SpeedLabel : public QLabel
{
Q_OBJECT
public:
SpeedLabel
(
intf_thread_t
*
,
const
QString
);
SpeedLabel
(
intf_thread_t
*
,
const
QString
&
,
QWidget
*
);
protected:
virtual
void
mouseDoubleClickEvent
(
QMouseEvent
*
event
)
...
...
modules/gui/qt4/main_interface.cpp
View file @
14bdc015
...
...
@@ -316,10 +316,10 @@ inline void MainInterface::createStatusBar()
****************/
/* Widgets Creation*/
TimeLabel
*
timeLabel
=
new
TimeLabel
(
p_intf
);
nameLabel
=
new
QLabel
;
nameLabel
=
new
QLabel
(
this
)
;
nameLabel
->
setTextInteractionFlags
(
Qt
::
TextSelectableByMouse
|
Qt
::
TextSelectableByKeyboard
);
SpeedLabel
*
speedLabel
=
new
SpeedLabel
(
p_intf
,
"1.00x"
);
SpeedLabel
*
speedLabel
=
new
SpeedLabel
(
p_intf
,
"1.00x"
,
this
);
/* Styling those labels */
timeLabel
->
setFrameStyle
(
QFrame
::
Sunken
|
QFrame
::
Panel
);
...
...
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