Bug: Detach Tabs loses history

Daniel Teske teske at squorn.de
Thu Dec 23 17:26:40 GMT 2004


Hi

Detached Tabs lose their history, this patch fixes that.

mainWindow->childFrame()->frameType() should always be of type "Tabs",
because
  if ( m_pDocContainer->frameType() != "Tabs")
    convertDocContainer();

because currentFrame is of type tabs, which is written to the config,
and loadItem restores it.

QString prefix = QString::fromLatin1( currentFrame->frameType() ) +
QString::number(0);
config.writeEntry( "RootItem", prefix );








More information about the kfm-devel mailing list