From fb30dd436222243e67d009a1ae1ad616f75ea11e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 15 Oct 2017 20:54:52 +0200 Subject: GUI: Cleanup --- gui/updates-dialog.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gui') diff --git a/gui/updates-dialog.cpp b/gui/updates-dialog.cpp index be7202326b..0f933bf7ce 100644 --- a/gui/updates-dialog.cpp +++ b/gui/updates-dialog.cpp @@ -83,13 +83,11 @@ UpdatesDialog::UpdatesDialog() : Dialog(30, 20, 260, 124) { y += kLineHeight; - const char *updMessage = _("Update check:"); int updatelineWidth = g_gui.getFont().wordWrapText(updMessage, screenW - 2 * 20, lines3) + 5; - new StaticTextWidget(this, 10, y, maxlineWidth, kLineHeight, - lines3[0], Graphics::kTextAlignLeft); + new StaticTextWidget(this, 10, y, maxlineWidth, kLineHeight, lines3[0], Graphics::kTextAlignLeft); _updatesPopUp = new PopUpWidget(this, 10 + updatelineWidth, y, _w - 20 - updatelineWidth, g_gui.xmlEval()->getVar("Globals.PopUp.Height", kLineHeight)); -- cgit v1.2.3