WebHistory Problem/Bug/Dummheit
Verfasst: 9. September 2009 09:39
Hi,
mal ne Frage zum WebView bzw der WebHistory... glaube da ist nen Bug im canGoBack... das gibt nach dem C'tor wo das WebView Objekt erstellt wird true zurück.
ItemIndex liefert mir 0 und count 1 ....
liefert:
There are 1 Items in the history on startup...This item has Index 0
Kann das jmd. nachvollziehen???
mal ne Frage zum WebView bzw der WebHistory... glaube da ist nen Bug im canGoBack... das gibt nach dem C'tor wo das WebView Objekt erstellt wird true zurück.
ItemIndex liefert mir 0 und count 1 ....
Code: Alles auswählen
m_ui->webView->history()->clear();
m_ui->tbBack->setEnabled( m_ui->webView->history()->canGoBack() );Code: Alles auswählen
qDebug() << "There are " << m_ui->webView->history()->count() <<"Items in the history on startup...This item has Index " << m_ui->webView->history()->currentItemIndex();
There are 1 Items in the history on startup...This item has Index 0
Kann das jmd. nachvollziehen???