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++

Fix build on Linux

Dmitry Kazakov4cf1647cfd80
diff --git a/libs/ui/dialogs/kis_dlg_preferences.cc b/libs/ui/dialogs/kis_dlg_preferences.cc
index 8b593e642b..67a6838f48 100644
--- a/libs/ui/dialogs/kis_dlg_preferences.cc
+++ b/libs/ui/dialogs/kis_dlg_preferences.cc
@@ -1458,12 +1458,16 @@ void TabletSettingsTab::slotTabletTest()
tabletTestDialog.exec();
}
+#ifdef Q_OS_WIN
#include "KisDlgCustomTabletResolution.h"
+#endif
void TabletSettingsTab::slotResolutionSettings()
{
+#ifdef Q_OS_WIN
KisDlgCustomTabletResolution dlg(this);
dlg.exec();
+#endif
}