Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QWebview::Back, How to disable it ?



  • I want to disable the Backspace short in QWebview.
    My code is
    pageAction(QWebPage::Back)->setShortcut( QKeySequence(Qt::CTRL + Qt::Key_Back));

    But it can not work.
    Someone could help?

    Thanks in advance.


Log in to reply