mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Drop old filter code
Drop tons of now-unused-code. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
43178be1f2
commit
e0f473fcb4
16 changed files with 44 additions and 1045 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "core/gettextfromc.h"
|
||||
#include "desktop-widgets/locationinformation.h"
|
||||
#include "desktop-widgets/command.h"
|
||||
#include "desktop-widgets/simplewidgets.h"
|
||||
|
||||
#include "TabDiveExtraInfo.h"
|
||||
#include "TabDiveInformation.h"
|
||||
|
@ -688,7 +689,6 @@ struct dive_site *MainTab::updateDiveSite(struct dive_site *pickedDs, dive *d)
|
|||
QString name = ui.location->text().isEmpty() ? tr("New dive site") : ui.location->text();
|
||||
pickedDs = create_dive_site(qPrintable(name), displayed_dive.when);
|
||||
createdNewDive = true;
|
||||
LocationFilterModel::instance()->addName(name);
|
||||
}
|
||||
|
||||
if (origDs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue