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
PIM
Kleopatra
Commits
c963a702
Verified
Commit
c963a702
authored
Sep 12, 2022
by
Ingo Klöcker
Committed by
Ingo Klöcker
Sep 12, 2022
Browse files
Remove unused methods
GnuPG-bug-id: 6157
parent
f19ed175
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/commands/command.cpp
View file @
c963a702
...
...
@@ -181,18 +181,6 @@ void Command::setView(QAbstractItemView *view)
}
}
void
Command
::
setIndex
(
const
QModelIndex
&
idx
)
{
d
->
indexes_
.
clear
();
d
->
indexes_
.
push_back
(
idx
);
}
void
Command
::
setIndexes
(
const
QList
<
QModelIndex
>
&
idx
)
{
d
->
indexes_
.
clear
();
std
::
copy
(
idx
.
begin
(),
idx
.
end
(),
std
::
back_inserter
(
d
->
indexes_
));
}
void
Command
::
setKey
(
const
Key
&
key
)
{
d
->
keys_
.
clear
();
...
...
src/commands/command.h
View file @
c963a702
...
...
@@ -90,8 +90,6 @@ public:
void
setParentWidget
(
QWidget
*
widget
);
void
setParentWId
(
WId
wid
);
void
setView
(
QAbstractItemView
*
view
);
void
setIndex
(
const
QModelIndex
&
idx
);
void
setIndexes
(
const
QList
<
QModelIndex
>
&
idx
);
void
setKey
(
const
GpgME
::
Key
&
key
);
void
setKeys
(
const
std
::
vector
<
GpgME
::
Key
>
&
keys
);
...
...
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