diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 23:59:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 23:59:29 +0900 |
commit | c9599b54422283b1c1dd61afcfe34c34df60c897 (patch) | |
tree | 93c8cbe7d7a7cb49be9d22e2e1402d08fa311130 /tdefile-plugins | |
parent | b2acce464b915edc1b903d2d52ca7cb9a96dea11 (diff) | |
download | tdeaddons-c9599b54422283b1c1dd61afcfe34c34df60c897.tar.gz tdeaddons-c9599b54422283b1c1dd61afcfe34c34df60c897.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefile-plugins')
-rw-r--r-- | tdefile-plugins/desktop/tdefile_desktop.cpp | 2 | ||||
-rw-r--r-- | tdefile-plugins/html/tdefile_html.cpp | 2 |
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; } |