diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-07 11:07:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-07 22:48:54 +0900 |
| commit | a675856e6e7e5d7f20c66681f1c9d25c58d4b7ee (patch) | |
| tree | 0d8bb87ef55a5d3bbd3e29899345ce90dab50889 /src/app/KrJS/krjs.cpp | |
| parent | 93cd4949e72fe0a36b0118cd34a3ade29b1fe551 (diff) | |
| download | krusader-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.cpp | 7 |
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: |
