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
PIM
KPimTextEdit
Commits
80d716c8
Commit
80d716c8
authored
Sep 15, 2021
by
Laurent Montel
😁
Browse files
Remove unused method
parent
0b661677
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/emoticon/emoticonlistwidgetselector.cpp
View file @
80d716c8
...
...
@@ -48,14 +48,6 @@ void EmoticonListWidgetSelector::slotMouseOverItem(QListWidgetItem *item)
}
}
void
EmoticonListWidgetSelector
::
setEmoticons
(
const
QList
<
uint
>
&
lst
)
{
for
(
uint
emoji
:
lst
)
{
const
QString
str
=
QString
::
fromUcs4
(
&
emoji
,
1
);
new
KPIMTextEdit
::
EmoticonTextEditItem
(
str
,
this
);
}
}
void
EmoticonListWidgetSelector
::
setEmoticons
(
const
QStringList
&
lst
)
{
for
(
const
QString
&
emoji
:
lst
)
{
...
...
src/emoticon/emoticonlistwidgetselector.h
View file @
80d716c8
...
...
@@ -28,7 +28,6 @@ public:
explicit
EmoticonListWidgetSelector
(
QWidget
*
parent
=
nullptr
);
~
EmoticonListWidgetSelector
()
override
;
void
setEmoticons
(
const
QList
<
uint
>
&
lst
);
void
setEmoticons
(
const
QStringList
&
lst
);
Q_SIGNALS:
void
itemSelected
(
const
QString
&
);
...
...
Write
Preview
Supports
Markdown
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