StelLocation.cpp   StelLocation.cpp 
skipping to change at line 31 skipping to change at line 31
#include "StelLocaleMgr.hpp" #include "StelLocaleMgr.hpp"
#include "StelUtils.hpp" #include "StelUtils.hpp"
#include <QTimeZone> #include <QTimeZone>
#include <QStringList> #include <QStringList>
const int StelLocation::DEFAULT_BORTLE_SCALE_INDEX = 2; const int StelLocation::DEFAULT_BORTLE_SCALE_INDEX = 2;
int StelLocation::metaTypeId = initMetaType(); int StelLocation::metaTypeId = initMetaType();
int StelLocation::initMetaType() int StelLocation::initMetaType()
{ {
return qRegisterMetaType<StelLocation>(); int id = qRegisterMetaType<StelLocation>();
qRegisterMetaTypeStreamOperators<StelLocation>();
return id;
} }
// Output the location as a string ready to be stored in the user_location file // Output the location as a string ready to be stored in the user_location file
QString StelLocation::serializeToLine() const QString StelLocation::serializeToLine() const
{ {
QString sanitizedTZ=StelLocationMgr::sanitizeTimezoneStringForLocati onDB(ianaTimeZone); QString sanitizedTZ=StelLocationMgr::sanitizeTimezoneStringForLocati onDB(ianaTimeZone);
return QString("%1\t%2\t%3\t%4\t%5\t%6\t%7\t%8\t%9\t%10\t%11\t%12") return QString("%1\t%2\t%3\t%4\t%5\t%6\t%7\t%8\t%9\t%10\t%11\t%12")
.arg(name) .arg(name)
.arg(state) .arg(state)
.arg(country) .arg(country)
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/