[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-cvs
Subject: [LyX/master] Fix some warnings after 6c9207579
From: Jean-Marc Lasgouttes <lasgouttes () lyx ! org>
Date: 2016-11-23 16:44:27
Message-ID: 20161123164427.336882805EF () lyx ! lyx ! org
[Download RAW message or body]
commit 7971dc83efd2a3a2d282af17cded54698340e176
Author: Jean-Marc Lasgouttes <lasgouttes@lyx.org>
Date: Wed Nov 23 17:43:37 2016 +0100
Fix some warnings after 6c9207579
---
src/frontends/qt4/GuiView.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp
index a6a96e2..90b43eb 100644
--- a/src/frontends/qt4/GuiView.cpp
+++ b/src/frontends/qt4/GuiView.cpp
@@ -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);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic