Hi,

Seems QWebPage doesn't create a select all action.

Attached a "test case" and it always prints "I have a NULL action :("

Cheers,

-- 
GPG-Key: 0xA3FD0DF7 - 9F73 032E EAC9 F7AD 951F  280E CB66 8E29 A3FD 0DF7
Debian User and Developer.
Homepage: www.foolab.org
#include <QApplication>
#include <QWebView>
#include <QAction>
#include <QDebug>

int main(int argc, char *argv[]) {
  QApplication app(argc, argv);

  QWebView *v = new QWebView;

  QAction *action = v->pageAction(QWebPage::SelectAll);

  if (!action) {
    qDebug() << "I have a NULL action :(";
  }

  delete v;

  return 0;
}

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to