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

List:       kde-commits
Subject:    kdebase/konqueror/keditbookmarks
From:       Peter Kelly <pmk () post ! com>
Date:       2003-02-22 11:08:44
[Download RAW message or body]

CVS commit by pmk: 

compile


  M +3 -3      listview.cpp   1.37


--- kdebase/konqueror/keditbookmarks/listview.cpp  #1.36:1.37
@@ -239,5 +239,5 @@ QString ListView::userAddress() {
    KEBListViewItem *item = firstSelected();
    if (item->isEmptyFolder()) {
-      item = item->parent();
+      item = static_cast<KEBListViewItem*>(item->parent());
    }
 
@@ -492,6 +492,6 @@ void ListView::renameNextCell(bool fwd) 
                                : myrenameitem->itemAbove());
          if (!myrenameitem) {
-            myrenameitem = fwd ? m_listView->firstChild()
-                               : m_listView->lastItem();
+            myrenameitem = fwd ? static_cast<KEBListViewItem*>(m_listView->firstChild())
+                               : static_cast<KEBListViewItem*>(m_listView->lastItem());
          }
          myrenamecolumn  = fwd ? KEBListView::NameColumn 


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

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