[Konsole-devel] [Bug 106829] konsole crashes in kiosk mode when action/settings=false is set
Kurt V.Hindenburg
kurt.hindenburg at kdemail.net
Sat Jun 25 19:44:56 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=106829
------- Additional Comments From kurt.hindenburg kdemail net 2005-06-25 21:44 -------
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)
More information about the konsole-devel
mailing list