From 62b21ffc2e51fee2b8862a10b9770086dbd7c093 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 14 Mar 2014 19:51:46 +0900 Subject: [PATCH] Fixed error messages that appeared when KHexEdit was started from CLI. This resolves bug 1810. --- khexedit/hextoolwidget.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/khexedit/hextoolwidget.cc b/khexedit/hextoolwidget.cc index fd5aeb1..ef66db2 100644 --- a/khexedit/hextoolwidget.cc +++ b/khexedit/hextoolwidget.cc @@ -57,7 +57,7 @@ CHexToolWidget::CHexToolWidget( TQWidget *parent, const char *name ) i18n("Binary:"), i18n("Text:") }; - TQGridLayout *ValuesBox = new TQGridLayout( this, 4, 6, 0, KDialog::spacingHint() ); + TQGridLayout *ValuesBox = new TQGridLayout( NULL, 4, 6, 0, KDialog::spacingHint() ); ValuesBox->setColStretch( 2, 10 ); ValuesBox->setColStretch( 5, 10 ); @@ -91,7 +91,7 @@ CHexToolWidget::CHexToolWidget( TQWidget *parent, const char *name ) mUtilBox->addWidget( mText3[i], i, 2 ); } - TQBoxLayout * SettingsBox = new TQHBoxLayout( this, 0, KDialog::spacingHint() ); + TQBoxLayout * SettingsBox = new TQHBoxLayout( NULL, 0, KDialog::spacingHint() ); text = i18n("Show little endian decoding"); mCheckIntelFormat = new TQCheckBox( text, this );