[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_2_2_BRANCH: kdenetwork/knode
From: CVS by gebauer <kde-cvs () kde ! org>
Date: 2001-09-09 11:41:01
[Download RAW message or body]
kdenetwork/knode knhdrviewitem.cpp,1.19,1.19.2.1
Author: gebauer
Sun Sep 9 11:40:51 UTC 2001
Modified Files:
knhdrviewitem.cpp
Log Message:
argh, knode had a one billion seconds bug (broken example code copied from
Qt docs) :-(
@@ -50,8 +50,7 @@ QString KNHdrViewItem::key(int col, bool
return tmpString.sprintf("%08d",text(col).toInt());
}
if (col==4) { // date
- QString tmpString;
- return tmpString.sprintf("%08d",(uint)art->date()->unixTime());
+ return QString::number((uint)art->date()->unixTime()).rightJustify(15, '0');
}
return text(col);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic