Try to fix test failure in CI
https://build.kde.org/view/Frameworks/job/Frameworks%20kwidgetsaddons%20kf5-qt5%20SUSEQt5.10/35/
Details
Details
tooltips position correctly in dolphin
Diff Detail
Diff Detail
- Repository
- R236 KWidgetsAddons
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/ktooltipwidget.cpp | ||
---|---|---|
186 | This is the result of a lot of trials and errors. I'm not ssure if this is the right thing to do. |
src/ktooltipwidget.cpp | ||
---|---|---|
142 | Crashes if size.width > screenGeometry.width. What was wrong with the qMax? |
src/ktooltipwidget.cpp | ||
---|---|---|
142 | Nothing was wrong with qmax. |
src/ktooltipwidget.cpp | ||
---|---|---|
142 | I forgot to mention x = qMax(0, ... did not fix failures in CI |
src/ktooltipwidget.cpp | ||
---|---|---|
183 | Call me old-school, but I prefer to see the type before the variable name, i.e. const QSize marginSize(w, h); instead of const auto marginSize = QSize(w, h); One word less to read. |