1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Removed Surface::write method

All it did was redirect to Font::write, so it's better to call that
method directly.
This commit is contained in:
Maarten ter Huurne
2014-07-31 23:10:16 +02:00
parent 3a57912dca
commit 902145b698
21 changed files with 43 additions and 51 deletions

View File

@@ -115,7 +115,7 @@ bool WallpaperDialog::exec()
for (i = firstElement; i < wallpapers.size()
&& i < firstElement + nb_elements; i++) {
iY = i-firstElement;
gmenu2x->s->write(gmenu2x->font, wallpapers[i], 5,
gmenu2x->font->write(gmenu2x->s, wallpapers[i], 5,
top + (iY * fontheight),
Font::HAlignLeft, Font::VAlignTop);
}