Changeset 603e43f in subsurface


Ignore:
Timestamp:
Dec 23, 2017, 3:01:39 PM (4 weeks ago)
Author:
Robert C. Helling <helling@…>
Branches:
master
Children:
1a4e7ad0
Parents:
337f82c
git-author:
Stefan Fuchs <sfuchs@…> (12/19/17 12:08:23)
git-committer:
Robert C. Helling <helling@…> (12/23/17 15:01:39)
Message:

Use function emitDataChanged in diveplannermodel consistently

Signed-off-by: Stefan Fuchs <sfuchs@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-models/diveplannermodel.cpp

    rd703ba9 r603e43f  
    584584        planner->setDecoMode(deco_mode(mode));
    585585        emit recreationChanged(mode == int(prefs.planner_deco_mode));
    586         emit dataChanged(createIndex(0, 0), createIndex(rowCount() - 1, COLUMNS -1));
     586        emitDataChanged();
    587587}
    588588
     
    591591        auto planner = SettingsObjectWrapper::instance()->planner_settings;
    592592        planner->setSafetyStop(value);
    593         emit dataChanged(createIndex(0, 0), createIndex(rowCount() - 1, COLUMNS -1));
     593        emitDataChanged();
    594594}
    595595
Note: See TracChangeset for help on using the changeset viewer.