mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +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()
|
void RestoreManager::clearRestoreData()
|
||||||
{
|
{
|
||||||
|
QByteArray crashedSession = m_data.crashedSession;
|
||||||
m_data.clear();
|
m_data.clear();
|
||||||
|
QDataStream stream(&crashedSession, QIODevice::ReadOnly);
|
||||||
QDataStream stream(&m_data.crashedSession, QIODevice::ReadOnly);
|
|
||||||
stream >> m_data;
|
stream >> m_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user