forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.0' into 4.1
Conflicts: share/qtcreator/templates/wizards/classes/itemmodel/listmodel.cpp src/plugins/debugger/debuggerruncontrol.cpp Change-Id: I0ece46a7df3b5a6e045b30db60e608212a40cc4d
This commit is contained in:
@@ -29,7 +29,7 @@ bool %{CN}::setHeaderData(int section, Qt::Orientation orientation, const QVaria
|
||||
|
||||
int %{CN}::rowCount(const QModelIndex &parent) const
|
||||
{
|
||||
if (!parent.isValid())
|
||||
if (parent.isValid())
|
||||
return 0;
|
||||
|
||||
// FIXME: Implement me!
|
||||
@@ -37,7 +37,7 @@ int %{CN}::rowCount(const QModelIndex &parent) const
|
||||
|
||||
int %{CN}::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
if (!parent.isValid())
|
||||
if (parent.isValid())
|
||||
return 0;
|
||||
|
||||
// FIXME: Implement me!
|
||||
|
Reference in New Issue
Block a user