diff options
Diffstat (limited to 'kexi/formeditor/commands.cpp')
-rw-r--r-- | kexi/formeditor/commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/formeditor/commands.cpp b/kexi/formeditor/commands.cpp index e7a5ad8ec..c9bad809b 100644 --- a/kexi/formeditor/commands.cpp +++ b/kexi/formeditor/commands.cpp @@ -744,7 +744,7 @@ InsertWidgetCommand::execute() kdWarning() << "InsertWidgetCommand::execute() ERROR: widget creation failed" << endl; return; } -#if KDE_VERSION >= KDE_MAKE_VERSION(3,4,0) +#if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0) //! @todo allow setting this for data view mode as well if (m_form->designMode()) { //don't generate accelerators for widgets in design mode @@ -897,7 +897,7 @@ CreateLayoutCommand::execute() m_name = m_form->objectTree()->generateUniqueName(classname); TQWidget *w = lib->createWidget(classname, container->widget(), m_name.latin1(), container); -#if KDE_VERSION >= KDE_MAKE_VERSION(3,4,0) +#if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0) //! @todo allow setting this for data view mode as well if (w) { if (m_form->designMode()) { |