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
PIM
KAlarm
Commits
0ccde346
Commit
0ccde346
authored
Oct 14, 2020
by
David Jarvie
Browse files
Remove redundant method
parent
429141e2
Pipeline
#37576
passed with stage
in 15 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/eventlistview.cpp
View file @
0ccde346
...
...
@@ -76,11 +76,6 @@ void EventListView::select(const QModelIndex& index, bool scrollToIndex)
scrollTo
(
index
);
}
void
EventListView
::
clearSelection
()
{
selectionModel
()
->
clearSelection
();
}
/******************************************************************************
* Return the single selected item.
* Reply = invalid if no items are selected, or if multiple items are selected.
...
...
src/eventlistview.h
View file @
0ccde346
...
...
@@ -29,7 +29,6 @@ public:
KAEvent
event
(
int
row
)
const
;
KAEvent
event
(
const
QModelIndex
&
)
const
;
void
select
(
const
QModelIndex
&
,
bool
scrollToIndex
=
false
);
void
clearSelection
();
QModelIndex
selectedIndex
()
const
;
KAEvent
selectedEvent
()
const
;
QVector
<
KAEvent
>
selectedEvents
()
const
;
...
...
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