RESOLVED INVALID 35743
[Qt] QWebView and QWebPage is missing a function to clear the modified flag
https://bugs.webkit.org/show_bug.cgi?id=35743
Summary [Qt] QWebView and QWebPage is missing a function to clear the modified flag
Tor Arne Vestbø
Reported 2010-03-04 06:50:47 PST
This bug report originated from internal issue QT-1233 --- Description --- Right now "modified" is a property of QWebView/Page, it is set if the content is edited. However, there is no way to clear this flag (useful e.g. after the document is saved or submitted).
Attachments
Antonio Gomes
Comment 1 2010-03-09 07:44:01 PST
looking at the qwebpage implementation for the getter of this property, I do not see a very clean way to add a setter method. it would be changing the undoStack status, which would have to be discussed if is a good thing to provide. Simon, do you think it is a WONTFIX ? It would be user if reporter had provided the gain for doing that :-( /*! \property QWebPage::modified \brief whether the page contains unsubmitted form data By default, this property is false. */ bool QWebPage::isModified() const { #ifdef QT_NO_UNDOSTACK return false; #else if (!d->undoStack) return false; return d->undoStack->canUndo(); #endif // QT_NO_UNDOSTACK }
Jocelyn Turcotte
Comment 2 2014-02-03 03:13:27 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.