| Summary: | Kdesktop crashes when copying things to the kde clipboard under special configuration | ||
|---|---|---|---|
| Product: | [Unmaintained] kdesktop | Reporter: | Michael Hartmann <michael.hartmann> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | CLOSED FIXED | ||
| Severity: | crash | CC: | finex, l.lunak |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Michael Hartmann
2006-09-06 19:07:41 UTC
Please provide the backtrace from the crash. I see, some actions aren't created and yet they are used later on. I'll fix it. SVN commit 581571 by dfaure:
Fix crash in kiosk mode (editable_desktop_icons=false)
BUG: 133665
M +5 -2 kdiconview.cc
--- branches/KDE/3.5/kdebase/kdesktop/kdiconview.cc #581570:581571
@@ -1222,8 +1222,11 @@
QString actionText = KIO::pasteActionText();
bool paste = !actionText.isEmpty();
- if ( paste )
- m_actionCollection.action( "paste" )->setText( actionText );
+ if ( paste ) {
+ KAction* pasteAction = m_actionCollection.action( "paste" );
+ if ( pasteAction )
+ pasteAction->setText( actionText );
+ }
slotEnableAction( "paste", paste );
}
Bug closed. Kdesktop is no more mantained. |