fixed warning

Tue, 20 Mar 2018 12:25:52 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 20 Mar 2018 12:25:52 +0200
changeset 1307
adb9d32a1426
parent 1306
be85306198a2
child 1308
dcc8c02530c2

fixed warning

src/headerhistorymodel.cpp file | annotate | diff | comparison | revisions
--- a/src/headerhistorymodel.cpp	Mon Mar 19 12:44:27 2018 +0200
+++ b/src/headerhistorymodel.cpp	Tue Mar 20 12:25:52 2018 +0200
@@ -10,6 +10,8 @@
 {
 	if (this->header)
 		return this->header->history.size();
+	else
+		return 0;
 }
 
 int HeaderHistoryModel::columnCount(const QModelIndex&) const

mercurial