diff options
author | Michele Calgaro <[email protected]> | 2019-05-24 12:02:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-05-24 12:02:07 +0900 |
commit | 352c8f6a2190a65107a30c42230b67018fc5625f (patch) | |
tree | b8cc3b8b315387deb5c3428ce89a4e2e5da217d6 /tdehtml | |
parent | 080948356f99f601ae4328ca01867547a412a376 (diff) | |
download | tdelibs-352c8f6a2190a65107a30c42230b67018fc5625f.tar.gz tdelibs-352c8f6a2190a65107a30c42230b67018fc5625f.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdehtml')
-rw-r--r-- | tdehtml/ecma/kjs_binding.cpp | 2 | ||||
-rw-r--r-- | tdehtml/ecma/kjs_debugwin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tdehtml/ecma/kjs_binding.cpp b/tdehtml/ecma/kjs_binding.cpp index d9f0b7b25..7e545a5a4 100644 --- a/tdehtml/ecma/kjs_binding.cpp +++ b/tdehtml/ecma/kjs_binding.cpp @@ -328,7 +328,7 @@ TQVariant KJS::ValueToVariant(ExecState* exec, const Value &val) { TQVariant res; switch (val.type()) { case BooleanType: - res = TQVariant(val.toBoolean(exec), 0); + res = TQVariant(val.toBoolean(exec)); break; case NumberType: res = TQVariant(val.toNumber(exec)); diff --git a/tdehtml/ecma/kjs_debugwin.cpp b/tdehtml/ecma/kjs_debugwin.cpp index df2e24d37..2e08f5ea8 100644 --- a/tdehtml/ecma/kjs_debugwin.cpp +++ b/tdehtml/ecma/kjs_debugwin.cpp @@ -862,7 +862,7 @@ bool KJSDebugWin::exception(ExecState *exec, const Value &value, bool inTryCatch if (dontShowAgain) { TDEConfig *config = kapp->config(); TDEConfigGroupSaver saver(config,TQString::fromLatin1("Java/JavaScript Settings")); - config->writeEntry("ReportJavaScriptErrors",TQVariant(false,0)); + config->writeEntry("ReportJavaScriptErrors",TQVariant(false)); config->sync(); TQByteArray data; kapp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", data ); |