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

List:       kfm-devel
Subject:    KDE/kdebase/apps/konqueror/src
From:       Eduardo Robles Elvira <edulix () gmail ! com>
Date:       2008-05-22 20:10:14
Message-ID: 1211487014.813086.6059.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 811367 by edulix:

Bugfix: Before calling to KonqView::updateHistoryEntry() we need to check that \
m_blockHistory is not true or else we will get a failed assertion and konqueror will \
crash.

CCMAIL:kfm-devel@kde.org


 M  +1 -1      konqview.cpp  


--- trunk/KDE/kdebase/apps/konqueror/src/konqview.cpp #811366:811367
@@ -1378,7 +1378,7 @@
     if (options & KonqFrameBase::saveURLs) {
         config.writePathEntry( QString::fromLatin1( "URL" ).prepend( prefix ), \
url().url() );  } else if(options & KonqFrameBase::saveHistoryItems) {
-        if (m_pPart)
+        if (m_pPart && !m_bLockHistory)
             updateHistoryEntry(true);
         QList<HistoryEntry*>::Iterator it = m_lstHistory.begin();
         for ( uint i = 0; it != m_lstHistory.end(); ++it, ++i ) {


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

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