From 57b1e3f69f7d1bb05ebc958dd27cc6743e063fb4 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Thu, 4 Oct 2012 08:51:45 +0200 Subject: Remove the implementation of columnCount. According to the documentation (http://doc.qt.digia.com/stable/model-view-programming.html#model-subclassing-reference), « List models do not provide this function because it is already implemented in QAbstractListModel. » MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/client/modeltest.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/client') diff --git a/tests/client/modeltest.cpp b/tests/client/modeltest.cpp index ee3e0f4..76a3e97 100644 --- a/tests/client/modeltest.cpp +++ b/tests/client/modeltest.cpp @@ -56,14 +56,6 @@ private Q_SLOTS: m_script.unpublishMenu(); } - /* - * Test if columnCount is always 1 - */ - void testColumnCount() - { - QCOMPARE(m_model.columnCount(), 1); - } - /* * Test if parent function always return a empty QModelIndex */ -- cgit v1.2.3