From 0166f4543d8a889ef010e10894a2c24b65ffe263 Mon Sep 17 00:00:00 2001 From: Edward Brown <edward.brown@stfc.ac.uk> Date: Thu, 26 Apr 2018 11:40:41 +0100 Subject: [PATCH] Fixed compilation error caused by use of cout without header. Re #22263 --- qt/widgets/common/src/Batch/QtStandardItemTreeAdapter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/qt/widgets/common/src/Batch/QtStandardItemTreeAdapter.cpp b/qt/widgets/common/src/Batch/QtStandardItemTreeAdapter.cpp index ce3fc815dea..450a88d87ca 100644 --- a/qt/widgets/common/src/Batch/QtStandardItemTreeAdapter.cpp +++ b/qt/widgets/common/src/Batch/QtStandardItemTreeAdapter.cpp @@ -42,7 +42,6 @@ QtStandardItemMutableTreeAdapter::modelItemFromIndex(QModelIndex const &index) { void QtStandardItemMutableTreeAdapter::removeRowAt(QModelIndex const &index) { if (index.isValid()) { - std::cout << "Index is valid" << std::endl; model().removeRows(index.row(), 1, model().parent(index)); } else { model().removeRows(0, model().rowCount()); -- GitLab