Changeset 3254de1


Ignore:
Timestamp:
08/18/21 19:32:56 (9 months ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master
Children:
6c5eece
Parents:
ef9a71b
Message:

Use only one line for day and date display (except MAEMO).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/daynavigatorwidget.cpp

    ref9a71b r3254de1  
    113113    QString selectedDateStr;
    114114    if (mCurDate.isValid()) {
    115         selectedDateStr = mCurDate.toString("dddd\nyyyy-MM-dd");
     115        QString selectedDateFormat =
     116#ifdef MAEMO
     117                "dddd\nyyyy-MM-dd";
     118#else
     119                "dddd • yyyy-MM-dd";
     120#endif
     121        selectedDateStr = mCurDate.toString(selectedDateFormat);
    116122        bool hasConference = ((Application*) qApp)->hasActiveConference();
    117123        if (hasConference) {
     
    121127                bool minus = conference.displayTimeShift() < 0;
    122128                shift = shift.addSecs(conference.displayTimeShift() * 60 * (minus ? -1 : 1));
    123                 selectedDateStr += " (" + (minus ? QString("-") : "+") + shift.toString("HH:mm") + ")";
     129                selectedDateStr += " • " + (minus ? QString("-") : "+") + shift.toString("HH:mm");
    124130            }
    125131        }
Note: See TracChangeset for help on using the changeset viewer.