diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-08-02 11:13:00 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-08-02 11:13:00 +0200 |
commit | 0704427510fa18d90170cf13d1fd81e446a1d3b0 (patch) | |
tree | f88eb0400bf4608d95808aeea656185634b9c0fc /mageia/dependencies/qt3/qt-3.3.6-fix-qfile-message-error.patch | |
parent | 9f07f141355cd13d40a39a2f123c6516209c5fcf (diff) | |
download | tde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.tar.gz tde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.zip |
Mageia: initial QT3 version for TDE 3.5.13
Diffstat (limited to 'mageia/dependencies/qt3/qt-3.3.6-fix-qfile-message-error.patch')
-rw-r--r-- | mageia/dependencies/qt3/qt-3.3.6-fix-qfile-message-error.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mageia/dependencies/qt3/qt-3.3.6-fix-qfile-message-error.patch b/mageia/dependencies/qt3/qt-3.3.6-fix-qfile-message-error.patch new file mode 100644 index 000000000..e26fb89f2 --- /dev/null +++ b/mageia/dependencies/qt3/qt-3.3.6-fix-qfile-message-error.patch @@ -0,0 +1,24 @@ +--- qt-x11-free-3.3.6/src/tools/qfile_unix.cpp-- 2006-07-31 09:03:52.000000000 +0200 ++++ qt-x11-free-3.3.6/src/tools/qfile_unix.cpp 2006-07-31 09:06:52.000000000 +0200 +@@ -164,8 +164,9 @@ + bool QFile::open( int m ) + { + if ( isOpen() ) { // file already open +-#if defined(QT_CHECK_STATE) +- qWarning( "QFile::open: File already open" ); ++#if defined(QT_CHECK_STATE) ++ QString error = QString("QFile::open: File (%1) already open").arg(fn); ++ qWarning( error ); + #endif + return FALSE; + } +@@ -179,7 +180,8 @@ + setMode( m ); + if ( !(isReadable() || isWritable()) ) { + #if defined(QT_CHECK_RANGE) +- qWarning( "QFile::open: File access not specified" ); ++ QString error = QString("QFile::open: File access (%1) not specified").arg(fn); ++ qWarning( error ); + #endif + return FALSE; + } |