]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/LengthCombo.cpp
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / LengthCombo.cpp
index 8e57af1ca6958cbf5ac6a1ac32e440e252bc7016..f02868449418ded7c100bec96cc82b9c79e7f916 100644 (file)
@@ -21,6 +21,9 @@
 #include <string>
 
 
+namespace lyx {
+namespace frontend {
+
 LengthCombo::LengthCombo(QWidget * parent)
        : QComboBox(parent)
 {
@@ -58,7 +61,7 @@ void LengthCombo::setCurrentItem(lyx::Length::UNIT unit)
 }
 
 
-void LengthCombo::setCurrentItem(QString const item)
+void LengthCombo::setCurrentItem(QString const item)
 {
        int num = QComboBox::count();
        for (int i = 0; i < num; i++) {
@@ -122,5 +125,7 @@ void LengthCombo::addUnit(lyx::Length::UNIT unit)
                   lyx::toqstr(lyx::unit_name[int(unit)]));
 }
 
+} // namespace frontend
+} // namespace lyx
 
 #include "moc_LengthCombo.cpp"