From 02e7ae4983679a787834277176a031286a8310c2 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 16 Sep 2004 15:13:40 +0000 Subject: Foldername fixes --- (limited to 'kmicromail/accountitem.cpp') diff --git a/kmicromail/accountitem.cpp b/kmicromail/accountitem.cpp index 59c8abb..12d047a 100644 --- a/kmicromail/accountitem.cpp +++ b/kmicromail/accountitem.cpp @@ -495,7 +495,7 @@ void IMAPviewItem::refreshFolders(bool force) titem = item; item = new IMAPfolderItem( (*it),pitem,pitem->firstChild(),this); /* setup the short name */ - item->setText(0,(*it)->getDisplayName().right((*it)->getDisplayName().length()-pos-1)); + item->setText(0,(*it)->getDisplayName().mid(pos+1)); item = titem; } else -- cgit v0.9.0.2