mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 19:59:46 +00:00
Fix compiler warning from clang 3.9
(cherry picked from commit fbba865d28
)
This commit is contained in:
parent
9172cf56a5
commit
d03a07b93a
@ -148,7 +148,7 @@ void GuiProgressView::debugMessageActivated(QTreeWidgetItem * item, int)
|
||||
|
||||
void GuiProgressView::levelChanged()
|
||||
{
|
||||
int level = Debug::NONE;
|
||||
unsigned int level = Debug::NONE;
|
||||
QTreeWidgetItemIterator it(widget_->debugMessagesTW);
|
||||
while (*it) {
|
||||
if ((*it)->text(1) == qt_("Yes"))
|
||||
@ -161,7 +161,7 @@ void GuiProgressView::levelChanged()
|
||||
|
||||
void GuiProgressView::debugSelectionChanged()
|
||||
{
|
||||
int level = Debug::NONE;
|
||||
unsigned int level = Debug::NONE;
|
||||
if (widget_->debugAnyRB->isChecked())
|
||||
level = Debug::ANY;
|
||||
else if (widget_->debugSelectedRB->isChecked()) {
|
||||
|
@ -119,3 +119,4 @@ What's new
|
||||
|
||||
- Update boost source to 1.62.
|
||||
|
||||
- fix compiler warnings from clang 3.9
|
||||
|
Loading…
Reference in New Issue
Block a user