]> 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 ed90eede867a06d00968ee1e5b868f2e1f098074..8b80a8d874cc7b57eb4633105526e513e6f03f9e 100644 (file)
@@ -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();
 }