aboutsummaryrefslogtreecommitdiff
path: root/test/dw_lists.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-11-14 14:04:25 +0100
committerSebastian Geerken <devnull@localhost>2012-11-14 14:04:25 +0100
commit53e9245bcbaea2b7b4485369aa2289f1d102f26c (patch)
tree686a6e3125fca5c7889d2010633d697704bf33c9 /test/dw_lists.cc
parent7a991750e1f7bdfe6bd39f95343cc742d00c6596 (diff)
Cleaned up preferences.
Diffstat (limited to 'test/dw_lists.cc')
-rw-r--r--test/dw_lists.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_lists.cc b/test/dw_lists.cc
index 64b66828..12fa1627 100644
--- a/test/dw_lists.cc
+++ b/test/dw_lists.cc
@@ -63,7 +63,7 @@ int main(int argc, char **argv)
Style *widgetStyle = Style::create (layout, &styleAttrs);
- Textblock *textblock = new Textblock (false, 100);
+ Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);
@@ -103,7 +103,7 @@ int main(int argc, char **argv)
ListItem *refItem = NULL;
for(int i = 1; i <= 100; i++) {
- ListItem *listItem = new ListItem (refItem, false, 100);
+ ListItem *listItem = new ListItem (refItem, false);
refItem = listItem;
textblock->addWidget (listItem, itemStyle);