mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
cleanup: remove CleanerTableModel::warningMessage signal
Nobody was ever listening to this signal(?) and the last sender
was removed in ac52034778
.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ee553e059d
commit
dedf8858fb
2 changed files with 1 additions and 8 deletions
|
@ -26,11 +26,6 @@ public:
|
|||
|
||||
protected:
|
||||
void setHeaderDataStrings(const QStringList &headers);
|
||||
signals:
|
||||
|
||||
/* instead of using QMessageBox directly, wire a QWidget to this signal and display the result.
|
||||
* This is because the QModels will be used from the Mobile version and the desktop version. */
|
||||
void warningMessage(const QString& title, const QString& message);
|
||||
|
||||
private:
|
||||
QStringList headers;
|
||||
|
|
|
@ -26,9 +26,7 @@ CylindersModel *DivePlannerPointsModel::cylindersModel()
|
|||
return &cylinders;
|
||||
}
|
||||
|
||||
/* TODO: Port this to CleanerTableModel to remove a bit of boilerplate and
|
||||
* use the signal warningMessage() to communicate errors to the MainWindow.
|
||||
*/
|
||||
/* TODO: Port this to CleanerTableModel to remove a bit of boilerplate. */
|
||||
void DivePlannerPointsModel::removeSelectedPoints(const QVector<int> &rows)
|
||||
{
|
||||
if (!rows.count())
|
||||
|
|
Loading…
Add table
Reference in a new issue