diff --git a/source/Genus/GenusModel.h b/source/Genus/GenusModel.h index 54b1d4c..bceab15 100644 --- a/source/Genus/GenusModel.h +++ b/source/Genus/GenusModel.h @@ -10,11 +10,11 @@ class GenusModel : public QAbstractTableModel Q_OBJECT private: - CheckableItems m_tiere = { - "Tiger", "Bär", "Katze", "Pferd", "Gans", "Elefant", "Katze", "Hund"}; - CheckableItems m_futter = {"Salat", "Fleisch", "Knocken", "Banane", "Apfel", - "Möhre", "Honig", "Zucker"}; - CheckableItems m_zirkus = {"Kiste", "Holz", "Vorhang", "Baum"}; + CheckableItems m_tiere = { "Tiger", "Bär", "Katze", "Pferd", "Gans", + "Elefant", "Katze", "Hund" }; + CheckableItems m_futter = { "Salat", "Fleisch", "Knocken", "Banane", + "Apfel", "Möhre", "Honig", "Zucker" }; + CheckableItems m_zirkus = { "Kiste", "Holz", "Vorhang", "Baum" }; public: GenusModel(QObject *parent); @@ -27,7 +27,7 @@ public: int role = Qt::EditRole) override; QVariant headerData(int section, Qt::Orientation orientation, - int role = Qt::DisplayRole) const; + int role = Qt::DisplayRole) const override; void write(QJsonObject &json) const; void read(const QJsonObject &json); diff --git a/source/mainwindow.ui b/source/mainwindow.ui index 8d2d210..f524a0b 100644 --- a/source/mainwindow.ui +++ b/source/mainwindow.ui @@ -18,7 +18,7 @@ - 1 + 0 @@ -50,7 +50,7 @@ 0 0 905 - 17 + 19