SVN commit 621313 by amantia: Don't lose the modifications for the upload profile if this was the first profile in the list and for some reason there is no existing "default" profile. In that case the first one is taken as the default. M +1 -0 project/projectupload.cpp M +26 -11 quanta.kdevelop M +4 -1 src/dtds.cpp --- branches/KDE/3.5/kdewebdev/quanta/project/projectupload.cpp #621312:621313 @@ -130,6 +130,7 @@ m_defaultProfile = defaultProfile; QDomNodeList profileList = m_profilesNode.toElement().elementsByTagName("profile"); QDomElement e; + m_currentProfileElement = profileList.item(0).toElement(); QString s; int defaultIdx = 0; for (uint i = 0; i < profileList.count(); i++) --- branches/KDE/3.5/kdewebdev/quanta/quanta.kdevelop #621312:621313 @@ -18,7 +18,8 @@ false - + + quanta @@ -47,8 +48,8 @@ \s-O0 -g3 -Wall - quanta/src/quanta - + /data/development/build/kde-3.5/kdewebdev/quanta/src/quanta + false build @@ -56,6 +57,18 @@ true false false + + /data/development/build/kde-3.5/kdewebdev + true + + + + + + + + /data/development/build/kde-3.5/kdewebdev/quanta/src + @@ -171,7 +184,7 @@ false - + true @@ -194,16 +207,16 @@ - + /usr/bin/gdb true false false true - - - + + + false @@ -246,10 +259,10 @@ - + Quanta speicfic header - + A new empty C++ file. @@ -285,7 +298,7 @@ - + set m_,_ theValue @@ -300,6 +313,8 @@ ExternalDesigner /usr/lib/qt3/bin/qmake /usr/lib/qt3/bin/designer + + --- branches/KDE/3.5/kdewebdev/quanta/src/dtds.cpp #621312:621313 @@ -23,6 +23,7 @@ #include #include #include +#include // include files for KDE #include @@ -103,13 +104,15 @@ } } // kdDebug(24000) << tagsDirs.count() << " folders found." << endl; + QTime t; + t.start(); QStringList::ConstIterator tagsDirsEnd = tagsDirs.constEnd(); for ( QStringList::ConstIterator it = tagsDirs.constBegin(); it != tagsDirsEnd; ++it ) { // kdDebug(24000) << "read:" << *it << endl; readTagDir(*it, false); // read all tags, but only short form } - + kdDebug(24000) << "DTD reading: " << t.elapsed() << endl; //load the mimetypes from the insideDTDs QDictIterator it(*m_dict); for( ; it.current(); ++it )