Mercurial > hg > svgui
comparison widgets/TipDialog.cpp @ 908:4a578a360011 cxx11
More type fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 13:22:10 +0000 |
parents | 1a0dfcbffaf1 |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
907:28d05ae8741c | 908:4a578a360011 |
---|---|
103 | 103 |
104 void | 104 void |
105 TipDialog::previous() | 105 TipDialog::previous() |
106 { | 106 { |
107 if (--m_tipNumber < 0) { | 107 if (--m_tipNumber < 0) { |
108 m_tipNumber = m_tips.size() - 1; | 108 m_tipNumber = int(m_tips.size()) - 1; |
109 } | 109 } |
110 | 110 |
111 showTip(); | 111 showTip(); |
112 } | 112 } |
113 | 113 |