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

List:       kde-commits
Subject:    kdewebdev/quanta/src
From:       Jens Herden <jens () kdewebdev ! org>
Date:       2005-02-21 14:23:40
Message-ID: 20050221142340.682B118922 () office ! kde ! org
[Download RAW message or body]

CVS commit by jens: 

avoid crash on exit of Quanta


  M +2 -1      quanta.cpp   1.707


--- kdewebdev/quanta/src/quanta.cpp  #1.706:1.707
@@ -3188,6 +3188,7 @@ void QuantaApp::slotLoadToolbarForDTD(co
 
 /** Remove the toolbar named "name". */
-bool QuantaApp::slotRemoveToolbar(const QString& name)
+bool QuantaApp::slotRemoveToolbar(const QString& a_name)
 {
+  QString name = a_name;  // increase reference counter for this string
   ToolbarEntry *p_toolbar = m_toolbarList[name];
   QRegExp i18ntabnameRx("\\si18ntabname=\"[^\"]*\"");


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

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