| Summary: | CD archiving writes faulty k3b project files | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Stefan Brüns <stefan.bruens> |
| Component: | Plugin-Generic-Archive | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Stefan Brüns
2006-07-24 10:45:50 UTC
Just a curiosity, does html export work well in such a situation? SVN commit 567902 by anaselli: BUG: 131284 M +70 -44 cdarchiving.cpp M +5 -2 cdarchiving.h SVN commit 567951 by anaselli:
CCBUG: 131284
Fixed the case in which under the same tag there are two files with similar name but some upper case letters using HTML interface.
M +7 -2 cdarchiving.cpp
--- trunk/extragear/libs/kipi-plugins/cdarchiving/cdarchiving.cpp #567950:567951
@@ -790,7 +790,7 @@
++urlIt)
{
QFileInfo imInfo( (*urlIt).fileName());
- QString imgName = makeFileNameUnique(fileNameList, imInfo.baseName(TRUE));
+ QString imgName = makeFileNameUnique(fileNameList, webifyFileName(imInfo.baseName(TRUE)));
}
for( KURL::List::iterator urlIt = images.begin() ;
!m_cancelled && (urlIt != images.end());
@@ -1690,6 +1690,7 @@
KURL::List images = collection.images();
kdDebug( 51000 ) << " Files: " << images.size() << endl;
QStringList fileNameList;
+ QString fName;
for (KURL::List::iterator it = images.begin();
(it != images.end()) && !m_cancelled;
++it)
@@ -1697,8 +1698,12 @@
kdDebug( 51000 ) << " Filename: " << (*it).fileName() << endl;
QFileInfo fInfo((*it).fileName());
- QString fName = makeFileNameUnique(fileNameList, fInfo.baseName(TRUE))
+ if (m_useHTMLInterface)
+ fName = makeFileNameUnique(fileNameList, webifyFileName(fInfo.baseName(TRUE)))
+ "." + fInfo.extension( FALSE );
+ else
+ fName = makeFileNameUnique(fileNameList, fInfo.baseName(TRUE))
+ + "." + fInfo.extension( FALSE );
kdDebug( 51000 ) << " Unique filename: " << fName << endl;
kdDebug( 51000 ) << "num of unique files: "<< fileNameList.size() << endl;
|