From fe7969ef886d7287fa959929ddd33fbad8407884 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 28 Jul 2012 15:51:58 -0500 Subject: Automated update from Qt3 --- src/tools/qsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/qsettings.cpp') diff --git a/src/tools/qsettings.cpp b/src/tools/qsettings.cpp index d5e9f81c0..4dd056d0e 100644 --- a/src/tools/qsettings.cpp +++ b/src/tools/qsettings.cpp @@ -1051,7 +1051,7 @@ bool TQSettings::sync() if ( success ) { TQDir dir( TQFileInfo( file ).dir( TRUE ) ); - if ( dir.exists( filename ) && !dir.remove( filename ) || + if ( ( dir.exists( filename ) && !dir.remove( filename ) ) || !dir.rename( file.name(), filename, TRUE ) ) { #ifdef QT_CHECK_STATE -- cgit v1.2.1