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
Education
Parley
Commits
38f0814c
Commit
38f0814c
authored
Aug 23, 2021
by
Andreas Cord-Landwehr
Browse files
Port away from deprecated KTitleWidget::setPixmap
parent
38ffb81e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/editor/vocabularycolumnsdialog.cpp
View file @
38f0814c
...
...
@@ -56,7 +56,7 @@ VocabularyColumnsDialog::VocabularyColumnsDialog(KEduVocDocument *doc, QWidget *
KTitleWidget
*
titleWidget
=
new
KTitleWidget
(
this
);
titleWidget
->
setText
(
i18n
(
"Enable/Disable the columns for each language"
));
titleWidget
->
set
Pixmap
(
QIcon
::
fromTheme
(
QStringLiteral
(
"view-file-columns"
))
.
pixmap
(
22
,
22
)
,
KTitleWidget
::
ImageRight
);
titleWidget
->
set
Icon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"view-file-columns"
)),
KTitleWidget
::
ImageRight
);
m_box
->
addWidget
(
titleWidget
,
0
,
0
,
1
,
2
);
createLanguagesLayout
();
...
...
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