mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
stop using global pointer, remove const cast
This commit is contained in:
@@ -289,7 +289,7 @@ BestIntervalDialog::addClicked()
|
||||
ride->timeToDistance(stop));
|
||||
|
||||
// add
|
||||
QTreeWidgetItem *allIntervals = (QTreeWidgetItem *)mainwindow->allIntervalItems();
|
||||
QTreeWidgetItem *allIntervals = mainWindow->mutableIntervalItems();
|
||||
allIntervals->addChild(last);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user