Code

Fixed an issue with the use of Q_ macro as introduced in rev 17415
authormfloryan <mfloryan@users.sourceforge.net>
Wed, 20 Feb 2008 14:27:53 +0000 (14:27 +0000)
committermfloryan <mfloryan@users.sourceforge.net>
Wed, 20 Feb 2008 14:27:53 +0000 (14:27 +0000)
src/ui/widget/panel.cpp

index f6d9757789701aaa1f2f497372c01454651868e9..51b289ddf19d5a4a98814237600b965b9151f662 100644 (file)
@@ -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) {