From b6887381d7062e2150c5511d50ac03421bcc211d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 20 Nov 2016 23:58:22 +0900 Subject: Trash limit: add "fixed size" configuration option and code improvements. This relates to bug 1923. Signed-off-by: Michele Calgaro --- tdeioslave/trash/tdefile-plugin/tdefile_trash.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tdeioslave/trash/tdefile-plugin') 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) -- cgit v1.2.1