mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
RestoreManager: Fix restoring nested crashed sessions
This commit is contained in:
parent
dc131ddfee
commit
48d87d7a0e
@ -99,9 +99,9 @@ RestoreData RestoreManager::restoreData() const
|
||||
|
||||
void RestoreManager::clearRestoreData()
|
||||
{
|
||||
QByteArray crashedSession = m_data.crashedSession;
|
||||
m_data.clear();
|
||||
|
||||
QDataStream stream(&m_data.crashedSession, QIODevice::ReadOnly);
|
||||
QDataStream stream(&crashedSession, QIODevice::ReadOnly);
|
||||
stream >> m_data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user