Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Fix for crash bug caused by Iframe NULL reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikke Simonsen authored and ariya committed Feb 20, 2014
1 parent 9940e8b commit bda8838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ QStringList WebPage::childFramesName() const //< deprecated
void WebPage::changeCurrentFrame(QWebFrame * const frame)
{
if (frame != m_currentFrame) {
qDebug() << "WebPage - changeCurrentFrame" << "from" << m_currentFrame->frameName() << "to" << frame->frameName();
qDebug() << "WebPage - changeCurrentFrame" << "from" << (m_currentFrame == NULL ? "Undefined" : m_currentFrame->frameName()) << "to" << frame->frameName();
m_currentFrame = frame;
}
}
Expand Down

0 comments on commit bda8838

Please sign in to comment.