From b2c6603542af1d5c34a3e252d9454ddf0b21fcc5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Aug 2015 16:13:56 +0300 Subject: Add missing checks or attribute to other files. --- src/gui/widgets/guitable.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/widgets/guitable.h') diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index 1743f06c6..51905b441 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -60,11 +60,6 @@ class GuiTable final : public Widget, ~GuiTable(); - /** - * Retrieves the active table model - */ - const TableModel *getModel() const A_WARN_UNUSED; - /** * Sets the table model * @@ -75,6 +70,11 @@ class GuiTable final : public Widget, */ void setModel(TableModel *const m); + /** + * Retrieves the active table model + */ + const TableModel *getModel() const A_WARN_UNUSED RETURNS_NONNULL; + void setSelected(const int row, const int column); int getSelectedRow() const A_WARN_UNUSED; -- cgit v1.2.3-60-g2f50