Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KCharSelect
Commits
d26aa6f4
Commit
d26aa6f4
authored
Dec 22, 2021
by
Laurent Montel
😁
Browse files
Use nullptr here
parent
a19a2811
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcharselectdia.cc
View file @
d26aa6f4
...
...
@@ -56,7 +56,7 @@ public:
{
QString
c
=
bm
.
url
().
toString
(
QUrl
::
PreferLocalFile
|
QUrl
::
RemoveScheme
);
if
(
c
.
startsWith
(
QLatin1String
(
"U+"
)))
{
uint
uc
=
c
.
midRef
(
2
).
toUInt
(
Q_NULLPTR
,
16
);
uint
uc
=
c
.
midRef
(
2
).
toUInt
(
nullptr
,
16
);
d
->
charSelect
->
setCurrentCodePoint
(
uc
);
}
}
...
...
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