summaryrefslogtreecommitdiffstats
path: root/libkscan/kscanoptset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkscan/kscanoptset.cpp')
-rw-r--r--libkscan/kscanoptset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkscan/kscanoptset.cpp b/libkscan/kscanoptset.cpp
index eac44987..91b6e196 100644
--- a/libkscan/kscanoptset.cpp
+++ b/libkscan/kscanoptset.cpp
@@ -81,12 +81,12 @@ bool KScanOptSet::backupOption( const KScanOption& opt )
/** Allocate a new option and store it **/
const TQCString& optName = opt.getName();
- if( !optName )
+ if( optName.isNull() )
retval = false;
if( retval )
{
- KScanOption *newopt = find( optName );
+ KScanOption *newopt = tqfind( optName );
if( newopt )
{