summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/tderandrtray.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2025-09-09 10:03:09 +0300
committerAlexander Golubev <fatzer2@gmail.com>2025-09-09 10:14:05 +0300
commit2984238d492bc1bf268a943aa20fdb2e70653766 (patch)
treeba1137b7356b22c90ee637e5087b383fd6dea962 /kcontrol/randr/tderandrtray.cpp
parent8252927210f087b78b5608ee0a2ecd7f05821a5e (diff)
downloadtdebase-fix/tderandrtray-crash.tar.gz
tdebase-fix/tderandrtray-crash.zip
Fix crash in tderandrtray on display reconnectfix/tderandrtray-crash
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/issues/376 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'kcontrol/randr/tderandrtray.cpp')
-rw-r--r--kcontrol/randr/tderandrtray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/randr/tderandrtray.cpp b/kcontrol/randr/tderandrtray.cpp
index 1c95bd552..b0d3694e6 100644
--- a/kcontrol/randr/tderandrtray.cpp
+++ b/kcontrol/randr/tderandrtray.cpp
@@ -202,7 +202,7 @@ void KRandRSystemTray::reloadDisplayConfiguration()
randr_screen_info->cur_output->auto_set = 1;
randr_screen_info->cur_output->off_set = 0;
output_auto (randr_screen_info, randr_screen_info->cur_output);
- i=main_low_apply(randr_screen_info);
+ main_low_apply(randr_screen_info);
if (randr_screen_info->outputs[i]->cur_crtc) {
// Output successfully activated!