]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPrintNomencl.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiPrintNomencl.cpp
index a63866b703f329f44d7b230968ee888b149a4fcd..8b80a8d874cc7b57eb4633105526e513e6f03f9e 100644 (file)
@@ -65,9 +65,9 @@ GuiPrintNomencl::GuiPrintNomencl(GuiView & lv)
        // initialize the length validator
        bc().addCheckedLineEdit(valueLE, valueLA);
 
-       setWidthCO->addItem(qt_("Predefined"),
+       setWidthCO->addItem(qt_("Default"),
                QVariant(toqstr("none")));
-       setWidthCO->addItem(qt_("Auto-determined"),
+       setWidthCO->addItem(qt_("Longest label width"),
                QVariant(toqstr("auto")));
        setWidthCO->addItem(qt_("Custom"),
                QVariant(toqstr("custom")));
@@ -129,11 +129,11 @@ void GuiPrintNomencl::applyView()
 }
 
 
-bool GuiPrintNomencl::isValid()
+bool GuiPrintNomencl::isValid() const
 {
-       return (setWidthCO->itemData(
+       return setWidthCO->itemData(
                        setWidthCO->currentIndex()).toString() != "custom"
-               || !valueLE->text().isEmpty());
+               || !valueLE->text().isEmpty();
 }