mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Fix travis build.
It does not like 'constexpr const' and for object declarations like this one it should indeed be redundant.
This commit is contained in:
parent
bf183f425d
commit
5ff733cfb7
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ static QList<QPair<QString,quint32> > timeMapping = QList<QPair<QString,quint32>
|
|||
QString Utility::durationToDescriptiveString(quint64 msecs)
|
||||
{
|
||||
struct Period { const char *name; quint64 msec; };
|
||||
Q_DECL_CONSTEXPR const Period periods[] = {
|
||||
Q_DECL_CONSTEXPR Period periods[] = {
|
||||
{ QT_TRANSLATE_NOOP("Utility", "%Ln year(s)") , 365*24*3600*1000L },
|
||||
{ QT_TRANSLATE_NOOP("Utility", "%Ln month(s)") , 30*24*3600*1000L },
|
||||
{ QT_TRANSLATE_NOOP("Utility", "%Ln day(s)") , 24*3600*1000L },
|
||||
|
|
Loading…
Reference in a new issue