From 6601b2d040591ec5086fa6715927a690697f6f6b Mon Sep 17 00:00:00 2001 From: mfloryan Date: Wed, 20 Feb 2008 14:27:53 +0000 Subject: [PATCH] Fixed an issue with the use of Q_ macro as introduced in rev 17415 --- src/ui/widget/panel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp index f6d975778..51b289ddf 100644 --- a/src/ui/widget/panel.cpp +++ b/src/ui/widget/panel.cpp @@ -111,13 +111,13 @@ void Panel::_init() const char *things[] = { N_("tiny"), N_("small"), - Q_("swatches|medium"), + N_("swatches|medium"), N_("large"), N_("huge") }; Gtk::RadioMenuItem::Group groupOne; for (unsigned int i = 0; i < G_N_ELEMENTS(things); i++) { - Glib::ustring foo(gettext(things[i])); + Glib::ustring foo(Q_(things[i])); Gtk::RadioMenuItem* single = manage(new Gtk::RadioMenuItem(groupOne, foo)); _menu->append(*single); if (i == panel_size) { -- 2.39.5