summaryrefslogtreecommitdiffstats
path: root/kommander/editor/resource.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-02-07 10:15:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-02-07 10:16:21 +0900
commit669546ae13394c0e9de9070ab344b2cbee336395 (patch)
treeac207ddba8810c4b8736ee1547e865e8c9737b4c /kommander/editor/resource.cpp
parentfde4a570b6e4c48b112c911d937f845b88839bee (diff)
downloadtdewebdev-669546ae13394c0e9de9070ab344b2cbee336395.tar.gz
tdewebdev-669546ae13394c0e9de9070ab344b2cbee336395.zip
Removed TQT_NON_COMMERCIAL check and related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dba2864aa3f9fb73ca33d80efd3258f4d82e1bb6)
Diffstat (limited to 'kommander/editor/resource.cpp')
-rw-r--r--kommander/editor/resource.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/kommander/editor/resource.cpp b/kommander/editor/resource.cpp
index 05f3b01b..7aafdbb7 100644
--- a/kommander/editor/resource.cpp
+++ b/kommander/editor/resource.cpp
@@ -303,17 +303,8 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
if ( !customWidgets.isNull() )
loadCustomWidgets( customWidgets, this );
-#if defined (TQT_NON_COMMERCIAL)
- bool previewMode = MainWindow::self->isPreviewing();
- TQWidget *w = (TQWidget*)createObject( widget, !previewMode ? (TQWidget*)formwindow : MainWindow::self);
- if ( !w )
- return false;
- if ( previewMode )
- w->reparent( MainWindow::self, TQt::WType_TopLevel, w->pos(), true );
-#else
if ( !createObject( widget, formwindow) )
return false;
-#endif
if ( !forwards.isNull() ) {
for ( TQDomElement n = forwards.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() )