summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/propertyeditor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-02-07 10:20:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-02-07 10:20:15 +0900
commit29ea77f8216e8cb351241c420270271959ed4cee (patch)
treef2f7e5f2a4bd6b7245cf5add3cb942d539ac21d5 /kdevdesigner/designer/propertyeditor.cpp
parentf79893bdbf3b44ce27812e13625607393deaa720 (diff)
downloadtdevelop-29ea77f8216e8cb351241c420270271959ed4cee.tar.gz
tdevelop-29ea77f8216e8cb351241c420270271959ed4cee.zip
Removed TQT_NON_COMMERCIAL check and related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/propertyeditor.cpp')
-rw-r--r--kdevdesigner/designer/propertyeditor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/kdevdesigner/designer/propertyeditor.cpp b/kdevdesigner/designer/propertyeditor.cpp
index 10fd4aaf..057e73f7 100644
--- a/kdevdesigner/designer/propertyeditor.cpp
+++ b/kdevdesigner/designer/propertyeditor.cpp
@@ -2310,11 +2310,7 @@ void PropertyPaletteItem::getPalette()
if ( ::tqqt_cast<TQScrollView*>(w) )
w = ( (TQScrollView*)w )->viewport();
TQPalette pal = PaletteEditor::getPalette( &ok, val.toPalette(),
-#if defined(TQT_NON_COMMERCIAL)
- w->backgroundMode(), listview->topLevelWidget(),
-#else
w->backgroundMode(), listview,
-#endif
"choose_palette", listview->propertyEditor()->formWindow() );
if ( !ok )
return;