Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

only hide donation links on macos.

Ivan Yossi1bd364d148b6
diff --git a/libs/ui/kis_splash_screen.cpp b/libs/ui/kis_splash_screen.cpp
index 16cd3c3bff..cbb8872e6f 100644
--- a/libs/ui/kis_splash_screen.cpp
+++ b/libs/ui/kis_splash_screen.cpp
@@ -222,10 +222,14 @@ void KisSplashScreen::displayLinks(bool show) {
<< "<head/>"
<< "<body><table style=\"width:100%\" cellpadding=\"30\"><tr><td>"
<< i18n("<p><span style=\" color:%1;\"><b>Using Krita</b></span></p>",color);
+
#ifdef Q_OS_MACOS
// MACOS store version should not contain external links
if (!KisMacosEntitlements().sandbox()) {
+#endif
+
lblLinksText << i18n("<p><a href=\"https://krita.org/support-us/\"><span style=\" text-decoration: underline; color:%1;\">Support Krita's Development!</span></a></p>",color);
+#ifdef Q_OS_MACOS
}
#endif
lblLinksText << i18n("<p><a href=\"https://docs.krita.org/en/user_manual/getting_started.html\"><span style=\" text-decoration: underline; color:%1;\">Getting Started</span></a></p>",color)