aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/todo
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-07-17 00:01:45 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-07-17 11:11:25 +0200
commitad9e7ccab6e8476c0cb478ea2e4f13354dc21635 (patch)
tree9c67e7cfec7e7d0603e9279de9227cdef1cac530 /src/plugins/todo
parentc67f7f63497b321f42ee0081f29b7e3804023a10 (diff)
Fix coding style for else statements
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/todo')
-rw-r--r--src/plugins/todo/todoitemsprovider.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/todo/todoitemsprovider.cpp b/src/plugins/todo/todoitemsprovider.cpp
index 28e691bc7d..eb491cc4e4 100644
--- a/src/plugins/todo/todoitemsprovider.cpp
+++ b/src/plugins/todo/todoitemsprovider.cpp
@@ -79,10 +79,8 @@ void TodoItemsProvider::updateList()
if (m_settings.scanningScope == ScanningScopeCurrentFile) {
if (m_currentEditor)
m_itemsList = m_itemsHash.value(m_currentEditor->document()->filePath());
- }
-
// Show only items of the startup project if any
- else {
+ } else {
if (m_startupProject)
setItemsListWithinStartupProject();
}