Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
Akonadi Contacts
Commits
6f08de7a
Commit
6f08de7a
authored
Feb 02, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add icons
parent
e62eaab3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
akonadi-contact/src/editor/addresseditor/addressgrantleeobject.cpp
...ontact/src/editor/addresseditor/addressgrantleeobject.cpp
+2
-4
No files found.
akonadi-contact/src/editor/addresseditor/addressgrantleeobject.cpp
View file @
6f08de7a
...
...
@@ -63,8 +63,7 @@ QString AddressGrantleeObject::createActionUrl(const QString &actionName) const
QString
AddressGrantleeObject
::
removeAddressAction
()
const
{
//TODO fix icons
const
QString
iconPath
=
IconNameCache
::
instance
()
->
iconPath
(
QStringLiteral
(
"window-new"
),
KIconLoader
::
Small
);
const
QString
iconPath
=
IconNameCache
::
instance
()
->
iconPath
(
QStringLiteral
(
"edit-delete"
),
KIconLoader
::
Small
);
const
QString
text
=
QStringLiteral
(
"<a href=
\"
%1
\"
><img class=
\"
headimage
\"
title=
\"
%3
\"
src=
\"
file:///%2
\"
></a>
\n
"
)
.
arg
(
createActionUrl
(
QStringLiteral
(
"removeaddress"
)),
iconPath
,
i18n
(
"Remove Address"
));
return
text
;
...
...
@@ -72,8 +71,7 @@ QString AddressGrantleeObject::removeAddressAction() const
QString
AddressGrantleeObject
::
modifyAddressAction
()
const
{
//TODO fix icons
const
QString
iconPath
=
IconNameCache
::
instance
()
->
iconPath
(
QStringLiteral
(
"window-new"
),
KIconLoader
::
Small
);
const
QString
iconPath
=
IconNameCache
::
instance
()
->
iconPath
(
QStringLiteral
(
"document-edit"
),
KIconLoader
::
Small
);
const
QString
text
=
QStringLiteral
(
"<a href=
\"
%1
\"
><img class=
\"
headimage
\"
title=
\"
%3
\"
src=
\"
file:///%2
\"
></a>
\n
"
)
.
arg
(
createActionUrl
(
QStringLiteral
(
"editaddress"
)),
iconPath
,
i18n
(
"Edit Address"
));
return
text
;
...
...
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