Fix Tooltip font clipping glitch

This commit is contained in:
Mark Watkins 2013-10-27 00:09:06 +10:00
parent 36f2dec1d8
commit c1cc5730b7
2 changed files with 3 additions and 1 deletions

View File

@ -849,6 +849,8 @@ void gToolTip::paint() //actually paints it.
painter.drawRoundedRect(rect,5,5);
painter.setBrush(Qt::black);
painter.setFont(*defaultfont);
painter.drawText(rect,Qt::AlignCenter,m_text);
painter.end();

View File

@ -493,7 +493,7 @@ bool PreferencesDialog::Save()
}
//PROFILE.Save();
//PREF.Save();
PREF.Save();
if (recalc_events) {
// send a signal instead?