Summary: | konsole crashes in kiosk mode when action/settings=false is set | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Marian Lukac <lukaac> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marian Lukac
2005-06-05 10:03:28 UTC
SVN commit 422532 by hindenburg: Fix crashes when action/settings=false BUGS: 106829 M +34 -32 konsole.cpp SVN commit 422609 by hindenburg: Fix crashes when action/settings=false CCBUGS: 106829 M +34 -32 konsole.cpp SVN commit 428915 by hindenburg: Fix sm/dcop crashes when action/settings=false. CCBUG: 106829 M +8 -2 konsole.cpp --- trunk/KDE/kdebase/konsole/konsole/konsole.cpp #428914:428915 @@ -2597,6 +2597,10 @@ { if (!selectSetEncoding) makeGUI(); + + if ( !selectSetEncoding ) // when action/settings=false + return; + QStringList items = selectSetEncoding->items(); QString enc; @@ -3480,8 +3484,10 @@ void Konsole::setEncoding(int index) { - selectSetEncoding->setCurrentItem(index); - slotSetEncoding(); + if ( selectSetEncoding ) { + selectSetEncoding->setCurrentItem(index); + slotSetEncoding(); + } } void Konsole::setSchema(ColorSchema* s, TEWidget* tewidget) SVN commit 428916 by hindenburg: Fix sm/dcop crashes when action/settings=false. CCBUG: 106829 M +8 -2 konsole.cpp --- branches/KDE/3.4/kdebase/konsole/konsole/konsole.cpp #428915:428916 @@ -2631,6 +2631,10 @@ { if (!selectSetEncoding) makeGUI(); + + if ( !selectSetEncoding ) // when action/settings=false + return; + QStringList items = selectSetEncoding->items(); QString enc; @@ -3544,8 +3548,10 @@ void Konsole::setEncoding(int index) { - selectSetEncoding->setCurrentItem(index); - slotSetEncoding(); + if ( selectSetEncoding ) { + selectSetEncoding->setCurrentItem(index); + slotSetEncoding(); + } } void Konsole::setSchema(ColorSchema* s, TEWidget* tewidget) |