summaryrefslogtreecommitdiffstats
path: root/src/crashhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crashhandler.cpp')
-rw-r--r--src/crashhandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crashhandler.cpp b/src/crashhandler.cpp
index 56ddec8..79f3d50 100644
--- a/src/crashhandler.cpp
+++ b/src/crashhandler.cpp
@@ -144,21 +144,21 @@
/// clean up
bt.remove( "(no debugging symbols found)..." );
bt.remove( "(no debugging symbols found)\n" );
- bt.tqreplace( TQRegExp("\n{2,}"), "\n" ); //clean up multiple \n characters
+ bt.replace( TQRegExp("\n{2,}"), "\n" ); //clean up multiple \n characters
bt.stripWhiteSpace();
/// analyze usefulness
bool useful = true;
const TQString fileCommandOutput = runCommand( "file `which basket`" );
- if( fileCommandOutput.tqfind( "not stripped", false ) == -1 )
+ if( fileCommandOutput.find( "not stripped", false ) == -1 )
subject += "[___stripped]"; //same length as below
else
subject += "[NOTstripped]";
if( !bt.isEmpty() ) {
- const int invalidFrames = bt.tqcontains( TQRegExp("\n#[0-9]+\\s+0x[0-9A-Fa-f]+ in \\?\\?") );
- const int validFrames = bt.tqcontains( TQRegExp("\n#[0-9]+\\s+0x[0-9A-Fa-f]+ in [^?]") );
+ const int invalidFrames = bt.contains( TQRegExp("\n#[0-9]+\\s+0x[0-9A-Fa-f]+ in \\?\\?") );
+ const int validFrames = bt.contains( TQRegExp("\n#[0-9]+\\s+0x[0-9A-Fa-f]+ in [^?]") );
const int totalFrames = invalidFrames + validFrames;
if( totalFrames > 0 ) {
@@ -168,7 +168,7 @@
}
subject += TQString("[frames: %1]").tqarg( totalFrames, 3 /*padding*/ );
- if( bt.tqfind( TQRegExp(" at \\w*\\.cpp:\\d+\n") ) >= 0 )
+ if( bt.find( TQRegExp(" at \\w*\\.cpp:\\d+\n") ) >= 0 )
subject += "[line numbers]";
}
else