summaryrefslogtreecommitdiffabout
path: root/pwmanager
authorulf69 <ulf69>2004-10-19 00:47:53 (UTC)
committer ulf69 <ulf69>2004-10-19 00:47:53 (UTC)
commit08c6df8a9f7804278ac4029299d9d6de51976856 (patch) (side-by-side diff)
tree95fc8b69fc8ecaf683e7a62e4305b41f67b48b53 /pwmanager
parent0f35c6660ed4c304b7c75f2a607f0f27ba436601 (diff)
downloadkdepimpi-08c6df8a9f7804278ac4029299d9d6de51976856.zip
kdepimpi-08c6df8a9f7804278ac4029299d9d6de51976856.tar.gz
kdepimpi-08c6df8a9f7804278ac4029299d9d6de51976856.tar.bz2
added lastupdate info and removed debug output
Diffstat (limited to 'pwmanager') (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwmview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/pwmview.cpp b/pwmanager/pwmanager/pwmview.cpp
index e53124f..5aaf66e 100644
--- a/pwmanager/pwmanager/pwmview.cpp
+++ b/pwmanager/pwmanager/pwmview.cpp
@@ -250,12 +250,13 @@ void PwMView::shiftToView()
currItem.clear();
tmpSorted.insert(tmpSorted.begin(), entries, currItem);
// Sort items and store them in tempoary tmpSorted.
for (i = 0; i < entries; ++i) {
doc->getEntry(catDocIndex, i, &currItem);
+ //qDebug("PwMView::shiftToView: %s, %i", currItem.desc.c_str(), currItem.listViewPos);
tmpSorted[currItem.listViewPos] = currItem;
}
// shift tempoary data to ListView.
tmpDisableSort();
lv->clear();
@@ -489,12 +490,16 @@ void PwMDataItemView::setPwMDataItem( const PwMDataItem& a )
QString dynamicPart;
QString format = "<tr><td align=\"right\"><b>%1</b></td>"
"<td align=\"left\">%2</td></tr>";
dynamicPart += format
+ .arg( i18n("LastUpdate") )
+ .arg( mItem.meta.update.toString().latin1() );
+
+ dynamicPart += format
.arg( i18n("Description") )
.arg( mItem.desc.c_str() );
dynamicPart += format
.arg( i18n("Name") )
.arg( mItem.name.c_str() );