mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove buggy code
This code is already implemented as a signal-connection on the maintab.cpp / globe.cpp Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5d12723656
commit
392973dbe4
1 changed files with 0 additions and 7 deletions
|
@ -510,13 +510,6 @@ void LocationFilterDelegate::paint(QPainter *painter, const QStyleOptionViewItem
|
|||
if (index.row() < 2) {
|
||||
diveSiteName = index.data().toString();
|
||||
bottomText = index.data(Qt::ToolTipRole).toString();
|
||||
#ifndef NO_MARBLE
|
||||
if ((option.state & QStyle::State_HasFocus)) {
|
||||
// we call this even if the displayed dive site has no GPS data
|
||||
// so that the globe appropriately zooms out...
|
||||
MainWindow::instance()->globe()->centerOnDiveSite(&displayed_dive_site);
|
||||
}
|
||||
#endif
|
||||
goto print_part;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue