]> cloud.milkyroute.net Git - dolphin.git/commit
dolphinview: Add widget parameter to elided QToolTip::showText
authorAkseli Lahtinen <akselmo@akselmo.dev>
Thu, 27 Feb 2025 10:07:33 +0000 (12:07 +0200)
committerAkseli Lahtinen <akselmo@akselmo.dev>
Thu, 27 Feb 2025 12:05:07 +0000 (14:05 +0200)
commit99c48acc8ea5e614e447a8f62d92c8d12e9cf58b
tree49888e1fe036e0a145fb89cfc10c4662b1b56c24
parent1c7feac8098a815eaa38d19f6fb22105517a2e6e
dolphinview: Add widget parameter to elided QToolTip::showText

Without this parameter the QToolTip can not always determine what
is the parent, so it will create a toplevel window in those cases.

Make sure we have dolphinview itself as a widget there, so QToolTip
and thus QtWayland can resolve what is the parent. This
avoids creating random windows when opening a tooltip.

BUG:500009
src/views/dolphinview.cpp