summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-06-20 14:01:49 +0200
committerkh1 <qt-info@nokia.com>2011-06-20 14:01:49 +0200
commit975eefb869b1bfa19d6590ad83fa7ae1f5f71089 (patch)
tree6e6f1249d7dff986bbfb44523062c04f93598cca /examples
parent46be5a4eac4474b42a4ea6f61430d59a8604a3c2 (diff)
Fix bug where we had to specify a column more then needed.
Diffstat (limited to 'examples')
-rw-r--r--examples/testapp/componentselectiondialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/testapp/componentselectiondialog.cpp b/examples/testapp/componentselectiondialog.cpp
index 4db0a2d5d..d46f08275 100644
--- a/examples/testapp/componentselectiondialog.cpp
+++ b/examples/testapp/componentselectiondialog.cpp
@@ -123,7 +123,7 @@ ComponentSelectionDialog::ComponentSelectionDialog(PackageManagerCore *core, QWi
d->ui.splitter->setStretchFactor(1, 1);
d->ui.splitter->setCollapsible(0, false);
- d->componentModel = new ComponentModel(5, core);
+ d->componentModel = new ComponentModel(4, core);
d->componentModel->setHeaderData(0, Qt::Horizontal, tr("Name"));
d->componentModel->setHeaderData(1, Qt::Horizontal, tr("Installed Version"));
d->componentModel->setHeaderData(2, Qt::Horizontal, tr("New Version"));