Adjusted to latest TQVariant::TQVariant(bool) function.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 5 years ago
parent b2acce464b
commit c9599b5442
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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")

@ -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;
}

Loading…
Cancel
Save