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
8fdc52e1
Commit
8fdc52e1
authored
Oct 11, 2020
by
Kurt Hindenburg
Browse files
Fix return never reached warning
parent
a8de3906
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/profile/ProfileModel.cpp
View file @
8fdc52e1
...
...
@@ -113,7 +113,7 @@ Qt::ItemFlags ProfileModel::flags(const QModelIndex& idx) const
switch
(
idx
.
column
())
{
case
NAME
:
return
currentFlags
&
(
~
Qt
::
ItemIsEditable
);
case
SHORTCUT
:
return
currentFlags
|
Qt
::
ItemIsEditable
;
default:
return
currentFlags
;
default:
;
}
return
currentFlags
;
}
...
...
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