summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins')
-rw-r--r--tdefile-plugins/desktop/tdefile_desktop.cpp2
-rw-r--r--tdefile-plugins/html/tdefile_html.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdefile-plugins/desktop/tdefile_desktop.cpp b/tdefile-plugins/desktop/tdefile_desktop.cpp
index e3d432d..cc3ce93 100644
--- a/tdefile-plugins/desktop/tdefile_desktop.cpp
+++ b/tdefile-plugins/desktop/tdefile_desktop.cpp
@@ -94,7 +94,7 @@ bool KDotDesktopPlugin::readInfo( KFileMetaInfo& info, uint )
if (!s.isEmpty()) appendItem(group, "File System", s);
appendItem(group, "Writable",
- TQVariant(!file.readBoolEntry("ReadOnly", true), 42));
+ TQVariant(!file.readBoolEntry("ReadOnly", true)));
}
else if (type == "Service")
diff --git a/tdefile-plugins/html/tdefile_html.cpp b/tdefile-plugins/html/tdefile_html.cpp
index c59711a..be6f24c 100644
--- a/tdefile-plugins/html/tdefile_html.cpp
+++ b/tdefile-plugins/html/tdefile_html.cpp
@@ -151,7 +151,7 @@ bool KHtmlPlugin::readInfo( KFileMetaInfo& info, uint )
// find out if it contains javascript
exp.setPattern("<script>");
- appendItem(group, "Javascript", TQVariant( s.find(exp)!=-1, 42));
+ appendItem(group, "Javascript", TQVariant( s.find(exp)!=-1));
return true;
}