Mercurial > hg > svgui
comparison widgets/TipDialog.cpp @ 946:36cddc3de023 alignment_view
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 20 Apr 2015 09:19:52 +0100 |
parents | 4a578a360011 |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
897:499b637f2a26 | 946:36cddc3de023 |
---|---|
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 |