forked from qt-creator/qt-creator
QmlProfiler: cleaned up old commented code
Change-Id: I1d9a16bc02770a6f1c9a742c8342b0d32e291737 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
committed by
Kai Koehne
parent
4fde52bb7a
commit
a7f03f3b5b
@@ -532,8 +532,6 @@ int TimelineRenderer::prevItemFromId(int modelIndex, int eventId) const
|
||||
|
||||
void TimelineRenderer::selectNextFromId(int modelIndex, int eventId)
|
||||
{
|
||||
|
||||
// TODO: find next index depending on model
|
||||
int eventIndex = nextItemFromId(modelIndex, eventId);
|
||||
if (eventIndex != -1) {
|
||||
setSelectedModel(modelIndex);
|
||||
@@ -543,8 +541,6 @@ void TimelineRenderer::selectNextFromId(int modelIndex, int eventId)
|
||||
|
||||
void TimelineRenderer::selectPrevFromId(int modelIndex, int eventId)
|
||||
{
|
||||
|
||||
// TODO: find next index depending on model
|
||||
int eventIndex = prevItemFromId(modelIndex, eventId);
|
||||
if (eventIndex != -1) {
|
||||
setSelectedModel(modelIndex);
|
||||
|
||||
Reference in New Issue
Block a user