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 access version updater when it is present
Carsten Hartenfels7965f3239c3b
diff --git a/libs/ui/KisWelcomePageWidget.cpp b/libs/ui/KisWelcomePageWidget.cppindex 2e101e9b3d..62ca882c2a 100644--- a/libs/ui/KisWelcomePageWidget.cpp+++ b/libs/ui/KisWelcomePageWidget.cpp@@ -700,8 +700,10 @@ void KisWelcomePageWidget::slotCheckNews()newsWidget->show();newsWidget->toggleNews(true);#ifdef ENABLE_UPDATERS- m_versionUpdater->checkForUpdate();- updateVersionUpdaterFrame();+ if (m_versionUpdater) {+ m_versionUpdater->checkForUpdate();+ updateVersionUpdaterFrame();+ }#endif}