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
Konsole
Commits
b54da815
Commit
b54da815
authored
Sep 15, 2020
by
Tomaz Canabrava
Committed by
Kurt Hindenburg
Sep 15, 2020
Browse files
Also change the font of the default profile
parent
001aaf5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/profile/ProfileModel.cpp
View file @
b54da815
...
@@ -77,8 +77,7 @@ QVariant ProfileModel::data(const QModelIndex& idx, int role) const
...
@@ -77,8 +77,7 @@ QVariant ProfileModel::data(const QModelIndex& idx, int role) const
}
}
case
Qt
::
DecorationRole
:
return
QIcon
::
fromTheme
(
profile
->
icon
());
case
Qt
::
DecorationRole
:
return
QIcon
::
fromTheme
(
profile
->
icon
());
case
Qt
::
FontRole
:
{
case
Qt
::
FontRole
:
{
// Default Profile
if
(
ProfileManager
::
instance
()
->
defaultProfile
()
==
profile
)
{
if
(
idx
.
row
()
==
0
)
{
QFont
font
;
QFont
font
;
font
.
setItalic
(
true
);
font
.
setItalic
(
true
);
return
font
;
return
font
;
...
...
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