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

List:       kde-commits
Subject:    Re: KDE/kdelibs/solid/solid
From:       Kevin Ottens <ervin () kde ! org>
Date:       2011-01-07 6:32:00
Message-ID: 201101070732.06028.ervin () kde ! org
[Download RAW message or body]


On Friday 7 January 2011 02:18:15 Rafael Fernández López wrote:
> SVN commit 1212447 by ereslibre:
> 
> Remove this assertion since if createBackendObject returns 0 (no backend
> could be found by iterating) it makes solid crash on debug mode because it
> will not assert.
> 
> CCMAIL: aseigo@kde.org

Please revert, you're treating a symptom not a cause.
 
> 
>  M  +0 -1      devicemanager.cpp
> 
> 
> --- trunk/KDE/kdelibs/solid/solid/devicemanager.cpp #1212446:1212447
> @@ -198,7 +198,6 @@
>          // and now becomes magically invalid!
> 
>          if (dev) {
> -            Q_ASSERT(dev->backendObject()!=0);
>              dev->setBackendObject(0);
>              Q_ASSERT(dev->backendObject()==0);
>          }

-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com

["signature.asc" (application/pgp-signature)]

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

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