Changing baseName() into completeBaseName() in
FileName::onlyFileNameWithoutExt().

This is a new function in Qt4 that removes everything after the last '.'
instead of everything after the first '.'.

+cosmetics

Vincent
Index: src/support/FileName.cpp
===================================================================
--- src/support/FileName.cpp	(revision 26996)
+++ src/support/FileName.cpp	(working copy)
@@ -321,13 +321,13 @@
 
 string FileName::onlyFileNameWithoutExt() const
 {
-       return fromqstr(d->fi.baseName());
+	return fromqstr(d->fi.completeBaseName());
 }
 
 
 string FileName::extension() const
 {
-       return fromqstr(d->fi.suffix());
+	return fromqstr(d->fi.suffix());
 }
 
 

Reply via email to