[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/formeditor
From:       Lorenzo Villani <lvillani () binaryhelix ! net>
Date:       2009-02-18 21:52:18
Message-ID: 1234993938.015564.7448.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 928091 by villani:

- make gcc 4.3 happy
- warnings--
CCMAIL: js@iidea.pl

 M  +3 -2      commands.cpp  


--- trunk/koffice/kexi/formeditor/commands.cpp #928090:928091
@@ -943,15 +943,16 @@
     std::auto_ptr<CustomSortableWidgetList> realList;
 
     switch (d->layoutType) {
+    case Form::NoLayout:
     case Form::HBox:
     case Form::Grid:
     case Form::HSplitter:
     case Form::HFlow:
-        realList = new HorizontalWidgetList(d->form->toplevelContainer()->widget()); \
break; +        realList = std::auto_ptr<CustomSortableWidgetList>(new \
HorizontalWidgetList(d->form->toplevelContainer()->widget())); break;  case \
Form::VBox:  case Form::VSplitter:
     case Form::VFlow:
-        realList = new VerticalWidgetList(d->form->toplevelContainer()->widget()); \
break; +        realList = std::auto_ptr<CustomSortableWidgetList>(new \
VerticalWidgetList(d->form->toplevelContainer()->widget())); break;  }
     
     foreach (QWidget *w, list) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic