summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2016-11-20 23:58:22 +0900
committerMichele Calgaro <[email protected]>2016-11-20 23:58:22 +0900
commitb6887381d7062e2150c5511d50ac03421bcc211d (patch)
tree7235f10c87eda8b99e976f6eebf8a35ae1fbe75a /tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp
parent6110a523f9acb34a704fda02b2aa9d5e555358f5 (diff)
downloadtdebase-b6887381d7062e2150c5511d50ac03421bcc211d.tar.gz
tdebase-b6887381d7062e2150c5511d50ac03421bcc211d.zip
Trash limit: add "fixed size" configuration option and code
improvements. This relates to bug 1923. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp')
-rw-r--r--tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp b/tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp
index 5c903fcb8..e7bfdc280 100644
--- a/tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp
+++ b/tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp
@@ -51,9 +51,8 @@ void KTrashPlugin::makeMimeTypeInfo(const TQString& mimeType)
KFileMimeTypeInfo::GroupInfo* group =
addGroupInfo(info, "General", i18n("General"));
- KFileMimeTypeInfo::ItemInfo* item;
- item = addItemInfo(group, "OriginalPath", i18n("Original Path"), TQVariant::String);
- item = addItemInfo(group, "DateOfDeletion", i18n("Date of Deletion"), TQVariant::DateTime);
+ addItemInfo(group, "OriginalPath", i18n("Original Path"), TQVariant::String);
+ addItemInfo(group, "DateOfDeletion", i18n("Date of Deletion"), TQVariant::DateTime);
}
bool KTrashPlugin::readInfo(KFileMetaInfo& info, uint)