Commit dc97f063 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Port away from deprecated QList methods

The session keys are already unique, consequently there can be no
duplicated in the list.
parent 17fc9c73
......@@ -401,7 +401,7 @@ void Session::prepareShutdown()
const QString Session::terminalIdList()
QList<int> keyList = m_terminals.uniqueKeys();
QList<int> keyList = m_terminals.keys();
QStringList idList;
QListIterator<int> i(keyList);
......@@ -190,7 +190,7 @@ int SessionStack::activeTerminalId()
const QString SessionStack::sessionIdList()
QList<int> keyList = m_sessions.uniqueKeys();
QList<int> keyList = m_sessions.keys();
QStringList idList;
QListIterator<int> i(keyList);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment