[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Mon Oct 12 18:27:36 CEST 2009
SVN commit 1034419 by jmhoffmann:
Output error message in case of file errors.
M +2 -2 FileStoragePolicy.cpp
--- trunk/KDE/kdeedu/marble/src/lib/FileStoragePolicy.cpp #1034418:1034419
@@ -64,7 +64,7 @@
QFile file( fullName );
if ( !file.open( QIODevice::WriteOnly ) ) {
m_errorMsg = QString( "%1: %2" ).arg( fullName ).arg( file.errorString() );
- // qDebug() << "file.open" << m_errorMsg;
+ qCritical() << "file.open" << m_errorMsg;
return false;
}
@@ -72,7 +72,7 @@
if ( !file.write( data ) ) {
m_errorMsg = QString( "%1: %2" ).arg( fullName ).arg( file.errorString() );
- // qDebug() << "file.write" << m_errorMsg;
+ qCritical() << "file.write" << m_errorMsg;
emit sizeChanged( file.size() - oldSize );
return false;
}
More information about the Marble-commits
mailing list