From 498abc873e88a2bb338428ad422c3460756610fa Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Wed, 23 May 2018 18:02:02 +0200 Subject: [PATCH] formatting --- source/Genus/GenusModel.h | 12 ++++++------ source/mainwindow.ui | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) 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