summaryrefslogtreecommitdiff
path: root/inputmethods/handwriting/qimpenchar.cpp
Unidiff
Diffstat (limited to 'inputmethods/handwriting/qimpenchar.cpp') (more/less context) (show whitespace changes)
-rw-r--r--inputmethods/handwriting/qimpenchar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/inputmethods/handwriting/qimpenchar.cpp b/inputmethods/handwriting/qimpenchar.cpp
index db5d135..b83b2a4 100644
--- a/inputmethods/handwriting/qimpenchar.cpp
+++ b/inputmethods/handwriting/qimpenchar.cpp
@@ -389,14 +389,14 @@ bool QIMPenCharSet::save( Domain d )
389 if ( file.status() == IO_Ok ) 389 if ( file.status() == IO_Ok )
390 ok = TRUE; 390 ok = TRUE;
391 } 391 }
392 392
393 if ( ok ) { 393 if ( ok ) {
394 if ( ::rename( tmpFn.latin1(), fn.latin1() ) < 0 ) { 394 if ( ::rename( tmpFn.latin1(), fn.latin1() ) < 0 ) {
395 qWarning( "problem renaming file %s to %s, errno: %d", 395 owarn << "problem renaming file " <<tmpFn.latin1() << " to "<< fn.latin1()
396 tmpFn.latin1(), fn.latin1(), errno ); 396 << ", errno: " << errno << oendl;
397 // remove the tmp file, otherwise, it will just lay around... 397 // remove the tmp file, otherwise, it will just lay around...
398 QFile::remove( tmpFn.latin1() ); 398 QFile::remove( tmpFn.latin1() );
399 ok = FALSE; 399 ok = FALSE;
400 } 400 }
401 } 401 }
402 402