* Disable tooltips if using gamescope / Steam Deck.
On a Steam Deck, Prism Launcher's window is scaled to fit the screen.
Whenever a tool tip is shown, it is often display outside of the window,
causing the compositor to scale the view to fit the new bounding box.
This effect is quite jarring, and I don't like it. This patch adds a
small global event filter which swallows up the tool tip events. It is
currently not configurable, although I suppose that could be an option.
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Move tooltip filter addition from the Main Window to the Application.
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Add license information to new files
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Remove other authors, they should not have been added in the first place
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Correct the years as well
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Update launcher/ui/ToolTipFilter.cpp
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Update launcher/ui/ToolTipFilter.h
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
---------
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Since we've started using ninja's multi-config generator, evaluating
CMAKE_BUILD_TYPE at configure-time is no longer reliable. Thankfully,
CMake offers "generator expressions" that are evaluated during build
system generation, which allows us to continue using these conditional
flags without much headache
Signed-off-by: Seth Flynn <getchoo@tuta.io>
`qrcodegen` isn't available in most repositories, package discovery
scripts for it are maintained in a different repository, and they are
bugged for Windows at least. This basically forces us into vendoring it,
which isn't cool; libqrencode seems like viable alternative used by many
more apps
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This enables sandboxed apps to maintain access to user-selected items. In addition, for both sandboxed and nonsandboxed apps it can keep track of directories even if they are moved or renamed, and can remember access to directories in "sensitive" locations (such as the Documents folder or external drives).
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
Qt doesn't apply the proper style to elements such as the title bar or text shadows, so this must be done in native code.
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
Considering this doesn't affect the build, it has never made much sense
for it to be a build option or require rereconfiguration of the project
to change
Signed-off-by: Seth Flynn <getchoo@tuta.io>
Replaces fixup_bundle with Qt's deployment scripts and CMake's newer
RUNTIME_DEPENDENCY_SET target, making it a bit easier to find and
include linked dependencies with less code on our end
Signed-off-by: seth <getchoo@tuta.io>