1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

RestoreManager: Fix restoring nested crashed sessions

This commit is contained in:
David Rosca 2018-03-17 17:56:35 +01:00
parent dc131ddfee
commit 48d87d7a0e
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -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;
}