diff options
Diffstat (limited to 'kexi/formeditor/commands.cpp')
| -rw-r--r-- | kexi/formeditor/commands.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kexi/formeditor/commands.cpp b/kexi/formeditor/commands.cpp index 85f407073..a5677ba23 100644 --- a/kexi/formeditor/commands.cpp +++ b/kexi/formeditor/commands.cpp @@ -744,13 +744,11 @@ InsertWidgetCommand::execute() kdWarning() << "InsertWidgetCommand::execute() ERROR: widget creation failed" << endl; return; } -#if TDE_VERSION >= TDE_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 TDEAcceleratorManager::setNoAccel(w); } -#endif // if the insertRect is invalid (ie only one point), we use widget' size hint if(( (m_insertRect.width() < 21) && (m_insertRect.height() < 21))) @@ -897,7 +895,6 @@ CreateLayoutCommand::execute() m_name = m_form->objectTree()->generateUniqueName(classname); TQWidget *w = lib->createWidget(classname, container->widget(), m_name.latin1(), container); -#if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) //! @todo allow setting this for data view mode as well if (w) { if (m_form->designMode()) { @@ -905,7 +902,6 @@ CreateLayoutCommand::execute() TDEAcceleratorManager::setNoAccel(w); } } -#endif ObjectTreeItem *tree = w ? m_form->objectTree()->lookup(w->name()) : 0; if(!tree) return; |
