aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/cleanertablemodel.h5
-rw-r--r--qt-models/diveplannermodel.cpp4
2 files changed, 1 insertions, 8 deletions
diff --git a/qt-models/cleanertablemodel.h b/qt-models/cleanertablemodel.h
index 0657b2099..4299e9002 100644
--- a/qt-models/cleanertablemodel.h
+++ b/qt-models/cleanertablemodel.h
@@ -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;
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp
index 26d78bcb6..df7affe8b 100644
--- a/qt-models/diveplannermodel.cpp
+++ b/qt-models/diveplannermodel.cpp
@@ -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())