]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/LengthCombo.cpp
Remove the .aux and .bbl files and update the citation labels
[lyx.git] / src / frontends / qt4 / LengthCombo.cpp
index ed4b653a0020fe3664c6e9bf34185b6dae0cbba7..8e57af1ca6958cbf5ac6a1ac32e440e252bc7016 100644 (file)
@@ -27,14 +27,14 @@ LengthCombo::LengthCombo(QWidget * parent)
        for (int i = 0; i < lyx::num_units; i++) {
                // mu does not make sense usually
                // so it must be added manually, if needed
-               if (lyx::unit_name[i] == "mu")
+               if (QLatin1String(lyx::unit_name[i]) == "mu")
                        continue;
                QComboBox::addItem(lyx::qt_(lyx::unit_name_gui[i]),
                        lyx::toqstr(lyx::unit_name[i]));
        }
 
        connect(this, SIGNAL(activated(int)),
-               this, SLOT(has_activated(int)));
+               this, SLOT(hasActivated(int)));
 }
 
 
@@ -45,7 +45,7 @@ lyx::Length::UNIT LengthCombo::currentLengthItem() const
 }
 
 
-void LengthCombo::has_activated(int)
+void LengthCombo::hasActivated(int)
 {
   // emit signal
        selectionChanged(currentLengthItem());