mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
cleanup: remove setTabIcon() calls in MainTab
These were used to remove warning-icons to mark tabs with user
changes. However these icons haven't been set since commit
a86aca0378
.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f1e1a9634a
commit
3e9b661c22
1 changed files with 0 additions and 4 deletions
|
@ -532,8 +532,6 @@ void MainTab::acceptChanges()
|
|||
|
||||
EditMode lastMode = editMode;
|
||||
editMode = IGNORE_MODE;
|
||||
tabBar()->setTabIcon(0, QIcon()); // Notes
|
||||
tabBar()->setTabIcon(1, QIcon()); // Equipment
|
||||
ui.dateEdit->setEnabled(true);
|
||||
hideMessage();
|
||||
|
||||
|
@ -598,8 +596,6 @@ void MainTab::rejectChanges()
|
|||
}
|
||||
ui.dateEdit->setEnabled(true);
|
||||
editMode = NONE;
|
||||
tabBar()->setTabIcon(0, QIcon()); // Notes
|
||||
tabBar()->setTabIcon(1, QIcon()); // Equipment
|
||||
hideMessage();
|
||||
// no harm done to call cancelPlan even if we were not PLAN mode...
|
||||
DivePlannerPointsModel::instance()->cancelPlan();
|
||||
|
|
Loading…
Add table
Reference in a new issue