[vlc-commits] re-indent after last change
Abel Tesfaye
git at videolan.org
Fri Jun 14 18:02:59 CEST 2019
vlc | branch: master | Abel Tesfaye <Abeltesfaye45 at gmail.com> | Fri Jun 14 18:44:47 2019 +0300| [f2fd2df5d09df9402e4a7c04ff41eb1622a3d1da] | committer: Hugo Beauzée-Luyssen
re-indent after last change
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2fd2df5d09df9402e4a7c04ff41eb1622a3d1da
---
modules/gui/qt/util/input_models.cpp | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/modules/gui/qt/util/input_models.cpp b/modules/gui/qt/util/input_models.cpp
index 80e8b444ee..6b0a0b8bf1 100644
--- a/modules/gui/qt/util/input_models.cpp
+++ b/modules/gui/qt/util/input_models.cpp
@@ -348,21 +348,21 @@ QString ChapterListModel::getNameAtPosition(float pos) const
{
if(m_title != nullptr){
- vlc_tick_t posTime = pos * m_title->length;
- int prevChapterIndex = 0;
+ vlc_tick_t posTime = pos * m_title->length;
+ int prevChapterIndex = 0;
- for(unsigned int i=0;i<m_title->chapter_count;i++){
+ for(unsigned int i=0;i<m_title->chapter_count;i++){
- vlc_tick_t currentChapterTime = m_title->chapters[i].time;
+ vlc_tick_t currentChapterTime = m_title->chapters[i].time;
- if(currentChapterTime > posTime)
- return qfu(m_title->chapters[prevChapterIndex].name);
+ if(currentChapterTime > posTime)
+ return qfu(m_title->chapters[prevChapterIndex].name);
- else if(i == (m_title->chapter_count - 1))
- return qfu(m_title->chapters[i].name);
+ else if(i == (m_title->chapter_count - 1))
+ return qfu(m_title->chapters[i].name);
- prevChapterIndex = i;
- }
+ prevChapterIndex = i;
+ }
}
return QString();
}
More information about the vlc-commits
mailing list