diff options
Diffstat (limited to 'kmail/foldertreebase.cpp')
-rw-r--r-- | kmail/foldertreebase.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/foldertreebase.cpp b/kmail/foldertreebase.cpp index 8557388ac..68c881f05 100644 --- a/kmail/foldertreebase.cpp +++ b/kmail/foldertreebase.cpp @@ -179,10 +179,10 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/ } // set it - bool tqrepaint = false; + bool repaint = false; if (fti->unreadCount() != count) { fti->adjustUnreadCount( count ); - tqrepaint = true; + repaint = true; } if (isTotalActive() || force) { @@ -196,7 +196,7 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/ // set it if ( count != fti->totalCount() ) { fti->setTotalCount(count); - tqrepaint = true; + repaint = true; } } if ( isSizeActive() || force ) { @@ -204,7 +204,7 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/ TQ_INT64 size = folder->storage()->folderSize(); if ( size != fti->folderSize() ) { fti->setFolderSize( size ); - tqrepaint = true; + repaint = true; } } } @@ -213,8 +213,8 @@ void FolderTreeBase::slotUpdateCounts(KMFolder * folder, bool force /* = false*/ } if (fti->parent() && !fti->parent()->isOpen()) - tqrepaint = false; // we're not visible - if (tqrepaint) { + repaint = false; // we're not visible + if (repaint) { fti->setNeedsRepaint( true ); emit triggerRefresh(); } |