Changeset 055231b


Ignore:
Timestamp:
05/30/13 15:13:11 (9 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
a8b5185
Parents:
1aede9a
Message:

Eventdialog: make sure the same colours as everywhere are used.

Additionally adjust font size on maemo.

This should allow to close #48.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/eventdialog.cpp

    r1aede9a r055231b  
    6666    info += QString("</ul>\n");
    6767    eventInfoTextBrowser->setHtml(info);
     68
     69    // make sure colours are the same as usual
     70    eventInfoTextBrowser->setPalette(qApp->palette());
     71    // reduce font size, on maemo
     72#ifdef MAEMO
     73    QFont font = eventInfoTextBrowser->font();
     74    font.setPointSizeF(font.pointSizeF()*0.8);
     75    eventInfoTextBrowser->setFont(font);
     76#endif
    6877
    6978    connect(favouriteButton, SIGNAL(clicked()), SLOT(favouriteClicked()));
Note: See TracChangeset for help on using the changeset viewer.