|
a/src/qtgui/restable.cpp |
|
b/src/qtgui/restable.cpp |
|
... |
|
... |
16 |
*/
|
16 |
*/
|
17 |
#include "autoconfig.h"
|
17 |
#include "autoconfig.h"
|
18 |
|
18 |
|
19 |
#include <stdlib.h>
|
19 |
#include <stdlib.h>
|
20 |
#include <time.h>
|
20 |
#include <time.h>
|
|
|
21 |
#include <stdint.h>
|
21 |
|
22 |
|
22 |
#include <algorithm>
|
23 |
#include <algorithm>
|
23 |
|
24 |
|
24 |
#include <Qt>
|
25 |
#include <Qt>
|
25 |
#include <QShortcut>
|
26 |
#include <QShortcut>
|
|
... |
|
... |
170 |
{
|
171 |
{
|
171 |
map<string, string>::const_iterator it = doc.meta.find(fld);
|
172 |
map<string, string>::const_iterator it = doc.meta.find(fld);
|
172 |
if (it == doc.meta.end()) {
|
173 |
if (it == doc.meta.end()) {
|
173 |
return string();
|
174 |
return string();
|
174 |
}
|
175 |
}
|
175 |
off_t size = atoll(it->second.c_str());
|
176 |
int64_t size = atoll(it->second.c_str());
|
176 |
return displayableBytes(size) + " (" + it->second + ")";
|
177 |
return displayableBytes(size) + " (" + it->second + ")";
|
177 |
}
|
178 |
}
|
178 |
|
179 |
|
179 |
static string dategetter(const string&, const Rcl::Doc& doc)
|
180 |
static string dategetter(const string&, const Rcl::Doc& doc)
|
180 |
{
|
181 |
{
|