Const correctness.
This commit is contained in:
parent
71851ed274
commit
92eae47a1d
@ -45,7 +45,7 @@ LocaleGlobal::Location::pretty( const QString& s )
|
||||
|
||||
|
||||
QString
|
||||
LocaleGlobal::Location::comment()
|
||||
LocaleGlobal::Location::comment() const
|
||||
{
|
||||
QTimeZone qtz = QTimeZone( QString( "%1/%2" )
|
||||
.arg( region )
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
QString region, zone;
|
||||
double latitude, longitude;
|
||||
static QString pretty( const QString& s );
|
||||
QString comment();
|
||||
QString comment() const;
|
||||
};
|
||||
|
||||
static void init();
|
||||
|
Loading…
Reference in New Issue
Block a user