summaryrefslogtreecommitdiffstats
path: root/src/app/KrJS/krjs.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-07 11:07:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-07 22:48:54 +0900
commita675856e6e7e5d7f20c66681f1c9d25c58d4b7ee (patch)
tree0d8bb87ef55a5d3bbd3e29899345ce90dab50889 /src/app/KrJS/krjs.cpp
parent93cd4949e72fe0a36b0118cd34a3ade29b1fe551 (diff)
downloadkrusader-remove/kde-is-version.tar.gz
krusader-remove/kde-is-version.zip
Remove use of KDE_IS_VERSIONremove/kde-is-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/app/KrJS/krjs.cpp')
-rw-r--r--src/app/KrJS/krjs.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/app/KrJS/krjs.cpp b/src/app/KrJS/krjs.cpp
index 8d1cffb..a80ca9d 100644
--- a/src/app/KrJS/krjs.cpp
+++ b/src/app/KrJS/krjs.cpp
@@ -51,7 +51,6 @@ bool KrJS::runFile(const TQString & filename) {
we can catch it here and handle it with c++
*/
{
-#if KDE_IS_VERSION(3,4,0)
KJS::Object exception = jsres.value().toObject(exec);
int line = int( exception.get( exec, KJS::Identifier("line") ).toNumber(exec) );
TQString type = exception.get( exec, KJS::Identifier("name") ).toString(exec).qstring();
@@ -67,12 +66,6 @@ bool KrJS::runFile(const TQString & filename) {
), //text
i18n("JavaScript error"), //caption
KMessageBox::Dangerous) ;
-#else
- KMessageBox::error ( 0, //parent
- TQString(i18n("In %1:\nThere is an error in the JavaScript")).arg(filename), //text
- i18n("JavaScript error"), //caption
- KMessageBox::Dangerous) ;
-#endif
break;
}
default: