summaryrefslogtreecommitdiffstats
path: root/tools/designer/designer/propertyeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/designer/propertyeditor.cpp')
-rw-r--r--tools/designer/designer/propertyeditor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/designer/designer/propertyeditor.cpp b/tools/designer/designer/propertyeditor.cpp
index 31908b3e0..8f0cd223b 100644
--- a/tools/designer/designer/propertyeditor.cpp
+++ b/tools/designer/designer/propertyeditor.cpp
@@ -2309,11 +2309,7 @@ void PropertyPaletteItem::getPalette()
if ( ::tqt_cast<TQScrollView*>(w) )
w = ( (TQScrollView*)w )->viewport();
TQPalette pal = PaletteEditor::getPalette( &ok, val.toPalette(),
-#if defined(QT_NON_COMMERCIAL)
- w->backgroundMode(), listview->topLevelWidget(),
-#else
w->backgroundMode(), listview,
-#endif
"choose_palette", listview->propertyEditor()->formWindow() );
if ( !ok )
return;