diff options
| author | Gleb Kasachou <[email protected]> | 2025-08-20 13:04:43 +0300 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-08-26 09:31:44 +0000 |
| commit | 60cc39930f1b0a78280712c8fe1447e919f018f8 (patch) | |
| tree | aabaa08fa19db28768fbd8a595fd81caa87fb2fe /src/kitemviews/kitemlistview.cpp | |
| parent | 24d859cf19e90fa22ed687b36a68231625c1bd80 (diff) | |
DolphinTabWidget: Fix segfault when restoring session
When a session is being restored, DolphinTabPage::setSplitViewEnabled()
is called for each tab. That function assumes the tab page's
m_navigatorsWidget is a valid pointer, which is true only for an active
tab. That causes a segmentation fault when Dolphin is launched from the
command line with more than two URLs and the --split flag.
This commit fixes this bug by connecting the
DolphinNavigatorsWidgetAction to each tab page before calling
restoreState() in DolphinTabWidget::readProperties().
BUG: 462046
Diffstat (limited to 'src/kitemviews/kitemlistview.cpp')
0 files changed, 0 insertions, 0 deletions
