Remove check for RTL extensions
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 15 Jul 2013 08:59:51 +0000 (08:59 +0000)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 15 Jul 2013 08:59:51 +0000 (08:59 +0000)
    Our code does nothing RTL specific there anyway. And the
    qt_use_rtl_extensions symbol has been removed.

    * qt4/qsecurelinedit.cpp: Remove check for RTL extensions.

qt4/qsecurelineedit.cpp

index 4384574..a04b176 100644 (file)
@@ -2578,10 +2578,6 @@ void QSecureLineEdit::contextMenuEvent(QContextMenuEvent *event)
     delete menu;
 }
 
-#if defined(Q_WS_WIN)
-    extern bool qt_use_rtl_extensions;
-#endif
-
 /*!  This function creates the standard context menu which is shown
         when the user clicks on the line edit with the right mouse
         button. It is called from the default contextMenuEvent() handler.
@@ -2648,11 +2644,7 @@ QMenu *QSecureLineEdit::createStandardContextMenu()
     }
 #endif
 
-#if defined(Q_WS_WIN)
-    if (!d->readOnly && qt_use_rtl_extensions) {
-#else
     if (!d->readOnly) {
-#endif
         popup->addSeparator();
         //QUnicodeControlCharacterMenu *ctrlCharacterMenu = new QUnicodeControlCharacterMenu(this, popup);
         //popup->addMenu(ctrlCharacterMenu);