diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 21:42:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-13 09:04:02 +0900 |
commit | 462dc85dcb12aab8e19797dadf48799656708a54 (patch) | |
tree | 901511cb5d29b2a094b1149d0621add8cb15c0e9 /kexi/formeditor/widgetfactory.cpp | |
parent | 75cc9de8f47db776021b5e8153c930d9af2108b6 (diff) | |
download | koffice-462dc85d.tar.gz koffice-462dc85d.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 20e4a19b0d7cc800d57be50c56d69023adae4046)
Diffstat (limited to 'kexi/formeditor/widgetfactory.cpp')
-rw-r--r-- | kexi/formeditor/widgetfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/formeditor/widgetfactory.cpp b/kexi/formeditor/widgetfactory.cpp index b90193bca..14fd26654 100644 --- a/kexi/formeditor/widgetfactory.cpp +++ b/kexi/formeditor/widgetfactory.cpp @@ -431,7 +431,7 @@ WidgetFactory::resetEditor() tree->eventEater()->setContainer(m_container); if(m_widget) {// && !ed) setRecursiveCursor(m_widget, m_container->form()); - if (m_widget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) || m_widget->inherits(TQTEXTEDIT_OBJECT_NAME_STRING)) { //fix weird behaviour + if (m_widget->inherits("TQLineEdit") || m_widget->inherits("TQTextEdit")) { //fix weird behaviour m_widget->unsetCursor(); m_widget->setCursor(TQt::ArrowCursor); } |