Mercurial > hg > svgui
comparison widgets/TipDialog.cpp @ 922:26da827e8fb5 tonioni
Merge from cxx11 branch
author | Chris Cannam |
---|---|
date | Mon, 23 Mar 2015 11:26:28 +0000 |
parents | 4a578a360011 |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
921:4968bbaf1ed8 | 922:26da827e8fb5 |
---|---|
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 |