Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KWalletManager
Commits
d16b0448
Commit
d16b0448
authored
Apr 24, 2021
by
Nicolas Fella
Browse files
Use QStyle instead of KIconLoader for icon size
parent
021bc7d1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/manager/kwalleteditor.cpp
View file @
d16b0448
...
...
@@ -619,7 +619,7 @@ void KWalletEditor::entrySelectionChanged(QTreeWidgetItem *item)
if
(
fi
)
{
_currentFolder
=
fi
->
name
();
_entryTitle
->
setText
(
QStringLiteral
(
"<font size=
\"
+1
\"
>%1</font>"
).
arg
(
fi
->
text
(
0
)));
_iconTitle
->
setPixmap
(
fi
->
getFolderIcon
().
pixmap
(
KIconLoader
::
global
()
->
currentSize
(
KIconLoader
::
Tool
b
ar
)));
_iconTitle
->
setPixmap
(
fi
->
getFolderIcon
().
pixmap
(
style
()
->
pixelMetric
(
QStyle
::
PixelMetric
::
PM_
Tool
B
ar
IconSize
)));
}
_displayedItem
=
item
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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