mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kio: do not show content size twice
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
da3450bcff
commit
47a6e93394
1 changed files with 3 additions and 3 deletions
|
@ -100,8 +100,8 @@ KFileMetaDataWidget::Private::~Private()
|
|||
|
||||
void KFileMetaDataWidget::Private::initMetaInfoSettings()
|
||||
{
|
||||
const int currentVersion = 5; // increase version, if the blacklist of disabled
|
||||
// properties should be updated
|
||||
// increase version, if the blacklist of disabled properties should be updated
|
||||
static const int currentVersion = 6;
|
||||
|
||||
KConfig config("kmetainformationrc", KConfig::NoGlobals);
|
||||
if (config.group("Misc").readEntry("version", 0) < currentVersion) {
|
||||
|
@ -114,7 +114,6 @@ void KFileMetaDataWidget::Private::initMetaInfoSettings()
|
|||
|
||||
static const char* enabledProperties[] = {
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#comment",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentSize",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#depends",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#mimeType",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#plainTextContent",
|
||||
|
@ -146,6 +145,7 @@ void KFileMetaDataWidget::Private::initMetaInfoSettings()
|
|||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#lastModified",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentSize",
|
||||
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
|
||||
0 // mandatory last entry
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue