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

List:       kde-commits
Subject:    extragear/sysadmin/muon/installer
From:       Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date:       2010-11-15 5:12:59
Message-ID: 20101115051259.CED23AC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1197230 by jmthomas:

We don't really need this check; QStackedWidget handles this case gracefuly.


 M  +1 -7      AbstractViewContainer.cpp  


--- trunk/extragear/sysadmin/muon/installer/AbstractViewContainer.cpp #1197229:1197230
@@ -64,13 +64,7 @@
 
 void AbstractViewContainer::activateBreadcrumbItem(BreadcrumbItem *item)
 {
-    AbstractViewBase *toActivate = item->associatedView();
-    if (!toActivate) {
-        // Screwed
-        return;
+    m_viewStack->setCurrentWidget(item->associatedView());
     }
 
-    m_viewStack->setCurrentWidget(toActivate);
-}
-
 #include "AbstractViewContainer.moc"
[prev in list] [next in list] [prev in thread] [next in thread] 

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