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

List:       kde-commits
Subject:    kdebase/konqueror/keditbookmarks
From:       Alexander Kellett <lypanov () kde ! org>
Date:       2003-03-23 11:42:14
[Download RAW message or body]

CVS commit by lypanov: 

make initial address visible in listview
fix a bug that got in during selection cleanups


  M +2 -2      listview.cpp   1.82


--- kdebase/konqueror/keditbookmarks/listview.cpp  #1.81:1.82
@@ -503,5 +503,5 @@ void ListView::fillWithGroup(KEBListView
          if (!m_splitView && grp.first().isNull()) {
             // empty folder
-            item = new KEBListViewItem(item, item); 
+            new KEBListViewItem(item, item); 
          }
          lastItem = item;
@@ -519,5 +519,5 @@ void ListView::fillWithGroup(KEBListView
       QString addr = CurrentMgr::self()->correctAddress(m_last_selection_address);
       if (bk.address() == addr) {
-         lv->setCurrentItem(item);
+         setCurrent(item);
       }
       if (selected_addresses.contains(bk.address())) {


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

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