Summary: | adding closetab in toolbar crashes when no tabs exist when editing toolbars | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Konstantinos Arvanitis <konstantinos.arvanitis> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | luke-jr+kdebugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Konstantinos Arvanitis
2003-04-04 13:48:48 UTC
Subject: kdebase/konqueror CVS commit by waba: CCMAIL: 56832-done@bugs.kde.org * Don't crash when updating toolbars without a part loaded. (BR56832) * Don't crash on stale file items (BR53717) M +2 -1 konq_mainwindow.cc 1.1172 --- kdebase/konqueror/konq_mainwindow.cc #1.1171:1.1172 @@ -3815,4 +3815,5 @@ void KonqMainWindow::slotPopupMenu( KXML delete konqyMenuClient; m_popupEmbeddingServices.clear(); + popupItems.clear(); //kdDebug(1202) << "-------- KonqMainWindow::slotPopupMenu() - m_oldView = " << m_oldView << ", currentView = " << currentView @@ -4143,5 +4144,5 @@ void KonqMainWindow::plugViewModeActions plugActionList( "viewmode", lst ); // display the toolbar viewmode icons only for inode/directory, as here we have dedicated icons - if ( m_currentView->serviceType() == "inode/directory" ) + if ( m_currentView && m_currentView->serviceType() == "inode/directory" ) plugActionList( "viewmode_toolbar", m_toolBarViewModeActions ); } |