┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/org.kde.dolphin.appdata.xml
diff options
context:
space:
mode:
authorAkseli Lahtinen <[email protected]>2024-11-13 11:41:45 +0200
committerAkseli Lahtinen <[email protected]>2024-11-13 09:42:25 +0000
commit4f0bb805d2c3dfdfc87c5000a6a3675da1d8b6c2 (patch)
tree5460e93852d8103982eb51f1de754627186165b5 /src/org.kde.dolphin.appdata.xml
parent11403da5b36b5b8314e69b86cc88bcf6d7733bba (diff)
generalviewsettingspage: Use qobject_cast instead of static_cast
In generalViewSettingsPage, ActiveWindow is not necessarily a mainWindow, which can cause dolphin to crash. For example when user opens folder properties and then dolphin settings, this part thinks the folder settings is mainWindow. Instead of static_cast, use qobject_cast, since it will return nullptr if the DolphinMainWindow is not found. BUG:492741
Diffstat (limited to 'src/org.kde.dolphin.appdata.xml')
0 files changed, 0 insertions, 0 deletions