]> git.lyx.org Git - features.git/commitdiff
fix MSVC warning.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 21 Oct 2007 22:12:12 +0000 (22:12 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 21 Oct 2007 22:12:12 +0000 (22:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21107 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPrefs.cpp

index 40b82c1ee6b97941377f1c4debc5a69d16ec9cd1..3dcefaf175e95787f8727805725a874984f40b9e 100644 (file)
@@ -1877,7 +1877,7 @@ QTreeWidgetItem * PrefShortcuts::insertShortcutItem(FuncRequest const & lfun,
        if (tag == UserUnbind) {
                QList<QTreeWidgetItem*> const items = shortcutsTW->findItems(lfun_name, 
                        Qt::MatchFlags(Qt::MatchExactly | Qt::MatchRecursive), 0);
-               for (size_t i = 0; i < items.size(); ++i) {
+               for (int i = 0; i < items.size(); ++i) {
                        if (items[i]->text(1) == shortcut)
                                newItem = items[i];
                                break;