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

List:       kde-commits
Subject:    koffice/kexi/formeditor (silent)
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2008-12-30 23:14:23
Message-ID: 1230678863.792017.21059.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 903589 by staniek:

SVN_SILENT use static cast


 M  +1 -1      objecttreeview.cpp  


--- trunk/koffice/kexi/formeditor/objecttreeview.cpp #903588:903589
@@ -86,7 +86,7 @@
         p->setFont(f);
         if (depth() == 0) { // for edit tab order dialog
             QString iconName
-            = ((ObjectTreeView*)listView())->iconNameForClass(m_item->widget()->metaObject()->className());
 +            = static_cast<ObjectTreeView*>(listView())->iconNameForClass(m_item->widget()->metaObject()->className());
                
             p->drawPixmap(margin, (height() - IconSize(KIconLoader::Small)) / 2 , \
SmallIcon(iconName));  p->drawText(
                 QRect(2*margin + IconSize(KIconLoader::Small), 0, width, height() - \
1),


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

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