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
fb48e363
Commit
fb48e363
authored
Nov 12, 2010
by
Juho Vähä-Herttua
Committed by
Rémi Denis-Courmont
Nov 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: Get rid of towlower in favor of portability
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
6b42661f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/gui/qt4/util/customwidgets.cpp
modules/gui/qt4/util/customwidgets.cpp
+7
-6
No files found.
modules/gui/qt4/util/customwidgets.cpp
View file @
fb48e363
...
@@ -424,12 +424,13 @@ int qtEventToVLCKey( QKeyEvent *e )
...
@@ -424,12 +424,13 @@ int qtEventToVLCKey( QKeyEvent *e )
uint32_t
i_vlck
=
0
;
uint32_t
i_vlck
=
0
;
if
(
qtk
<=
0xff
)
if
(
qtk
<=
0xff
)
/* VLC and X11 use lowercase whereas Qt uses uppercase */
{
#if defined( __STDC_ISO_10646__ ) || defined( _WIN32 ) || defined( __APPLE__ )
/* VLC and X11 use lowercase whereas Qt uses uppercase, this
i_vlck
=
towlower
(
qtk
);
* method should be equal to towlower in case of latin1 */
#else
if
(
qtk
>=
'A'
&&
qtk
<=
'Z'
)
i_vlck
=
qtk
+
32
;
# error FIXME
else
if
(
qtk
>=
0xC0
&&
qtk
<=
0xDE
&&
qtk
!=
0xD7
)
i_vlck
=
qtk
+
32
;
#endif
else
i_vlck
=
qtk
;
}
else
else
{
{
const
vlc_qt_key_t
*
map
;
const
vlc_qt_key_t
*
map
;
...
...
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