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
3bda99a3
Commit
3bda99a3
authored
Jul 24, 2010
by
Juho Vähä-Herttua
Committed by
Jean-Baptiste Kempf
Jul 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: More static_casts to null in preference components
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
352fb477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/components/complete_preferences.cpp
modules/gui/qt4/components/complete_preferences.cpp
+1
-1
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-2
No files found.
modules/gui/qt4/components/complete_preferences.cpp
View file @
3bda99a3
...
...
@@ -404,7 +404,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
}
QLabel
*
titleLabel
=
new
QLabel
(
head
);
QFont
titleFont
=
QApplication
::
font
(
static_cast
<
QWidget
*>
(
0
)
);
QFont
titleFont
=
QApplication
::
font
();
titleFont
.
setPointSize
(
titleFont
.
pointSize
()
+
6
);
titleLabel
->
setFont
(
titleFont
);
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
3bda99a3
...
...
@@ -191,7 +191,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
// Title Label
QLabel
*
panel_label
=
new
QLabel
;
QFont
labelFont
=
QApplication
::
font
(
static_cast
<
QWidget
*>
(
0
)
);
QFont
labelFont
=
QApplication
::
font
();
labelFont
.
setPointSize
(
labelFont
.
pointSize
()
+
6
);
panel_label
->
setFont
(
labelFont
);
...
...
@@ -200,7 +200,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
title_line
->
setFrameShape
(
QFrame
::
HLine
);
title_line
->
setFrameShadow
(
QFrame
::
Sunken
);
QFont
italicFont
=
QApplication
::
font
(
static_cast
<
QWidget
*>
(
0
)
);
QFont
italicFont
=
QApplication
::
font
();
italicFont
.
setItalic
(
true
);
switch
(
number
)
...
...
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