]> git.lyx.org Git - features.git/commitdiff
Fix some warnings after 6c9207579
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 23 Nov 2016 16:43:37 +0000 (17:43 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 23 Nov 2016 16:44:22 +0000 (17:44 +0100)
src/frontends/qt4/GuiView.cpp

index a6a96e269c2ffc0ef146f0d161cbdbea1b303899..90b43eb629ad5d0b4598ea02e99bd28d1d86dbf6 100644 (file)
@@ -385,7 +385,7 @@ public:
 
        QSize iconSize(docstring const & icon_size)
        {
-               int size;
+               unsigned int size;
                if (icon_size == "small")
                        size = smallIconSize;
                else if (icon_size == "normal")
@@ -416,7 +416,7 @@ public:
 
                static string icon_size;
 
-               int size = qsize.width();
+               unsigned int size = qsize.width();
 
                if (size < smallIconSize)
                        size = smallIconSize;
@@ -3365,7 +3365,7 @@ bool GuiView::goToFileRow(string const & argument)
 }
 
 
-void GuiView::toolBarPopup(const QPoint & pos)
+void GuiView::toolBarPopup(const QPoint & /*pos*/)
 {
        QMenu * menu = new QMenu;
        menu = guiApp->menus().menu(toqstr("context-toolbars"), * this);