comparison widgets/SubdividingMenu.cpp @ 908:4a578a360011 cxx11

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents e4773943c9c1
children edfc38ade098
comparison
equal deleted inserted replaced
907:28d05ae8741c 908:4a578a360011
51 void 51 void
52 SubdividingMenu::setEntries(const std::set<QString> &entries) 52 SubdividingMenu::setEntries(const std::set<QString> &entries)
53 { 53 {
54 m_entriesSet = true; 54 m_entriesSet = true;
55 55
56 int total = entries.size(); 56 int total = int(entries.size());
57 57
58 if (total < m_upperLimit) return; 58 if (total < m_upperLimit) return;
59 59
60 int count = 0; 60 int count = 0;
61 QMenu *chunkMenu = new QMenu(); 61 QMenu *chunkMenu = new QMenu();