852 |
m_iUntitled++; |
m_iUntitled++; |
853 |
|
|
854 |
// Stabilize form. |
// Stabilize form. |
855 |
m_sFilename = QString::null; |
m_sFilename = QString(); |
856 |
m_iDirtyCount = 0; |
m_iDirtyCount = 0; |
857 |
appendMessages(tr("New session: \"%1\".").arg(sessionName(m_sFilename))); |
appendMessages(tr("New session: \"%1\".").arg(sessionName(m_sFilename))); |
858 |
stabilizeForm(); |
stabilizeForm(); |
3109 |
if (!m_pOptions->sSessionFile.isEmpty()) { |
if (!m_pOptions->sSessionFile.isEmpty()) { |
3110 |
// Just load the prabably startup session... |
// Just load the prabably startup session... |
3111 |
if (loadSessionFile(m_pOptions->sSessionFile)) { |
if (loadSessionFile(m_pOptions->sSessionFile)) { |
3112 |
m_pOptions->sSessionFile = QString::null; |
m_pOptions->sSessionFile = QString(); |
3113 |
return true; |
return true; |
3114 |
} |
} |
3115 |
} |
} |