summaryrefslogtreecommitdiffstats
path: root/kommander/editor/mainwindowactions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/mainwindowactions.cpp')
-rw-r--r--kommander/editor/mainwindowactions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/editor/mainwindowactions.cpp b/kommander/editor/mainwindowactions.cpp
index eb8fd6b3..3800bbbd 100644
--- a/kommander/editor/mainwindowactions.cpp
+++ b/kommander/editor/mainwindowactions.cpp
@@ -785,7 +785,7 @@ void MainWindow::fileCreateTemplate()
for (i = 0; i < WidgetDatabase::count(); ++i)
{
if (WidgetDatabase::isContainer(i) && !WidgetDatabase::isForm(i) &&
- WidgetDatabase::className(i) != TQTABWIDGET_OBJECT_NAME_STRING && WidgetDatabase::widgetGroup(i) != "Temp")
+ WidgetDatabase::className(i) != "TQTabWidget" && WidgetDatabase::widgetGroup(i) != "Temp")
{
dia.listClass->insertItem(WidgetDatabase::className(i));
}