]> git.lyx.org Git - lyx.git/commitdiff
Remove unused local variable
authorStephan Witt <switt@lyx.org>
Wed, 29 Dec 2021 14:32:59 +0000 (15:32 +0100)
committerStephan Witt <switt@lyx.org>
Wed, 29 Dec 2021 14:33:44 +0000 (15:33 +0100)
src/frontends/qt/GuiView.cpp

index cce87e59e91f137642e08b5abba05f287c7e9d83..d59e64ccd164d6912cc4532e321312c088027bfb 100644 (file)
@@ -207,7 +207,6 @@ public:
                QStringList titlesegs = htext.split('\n');
                int wline = 0;
                int hline = fm.maxHeight();
-               QStringList::const_iterator sit;
                for (QString const & seg : titlesegs) {
                        if (fm.width(seg) > wline)
                                wline = fm.width(seg);