summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-03-14 19:51:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-03-14 19:51:46 +0900
commit62b21ffc2e51fee2b8862a10b9770086dbd7c093 (patch)
tree4fc2a9e96748ae1e1459cf678e173a7f3b5de1e0
parentddf4ccdfc6d70d08bedf515915b6dcfc02e24cfb (diff)
downloadtdeutils-62b21ffc2e51fee2b8862a10b9770086dbd7c093.tar.gz
tdeutils-62b21ffc2e51fee2b8862a10b9770086dbd7c093.zip
Fixed error messages that appeared when KHexEdit was started from CLI.
This resolves bug 1810.
-rw-r--r--khexedit/hextoolwidget.cc4
1 files 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 );