5babf52df4
Summary: Otherwise the content overflows the frame when scrolling. QQC2 scrollview docs say "ScrollView does not automatically clip its contents. If it is not used as a full-screen item, you should consider setting the clip property to true" Test Plan: Before: {F8121150} After: {F8121152} Reviewers: #kwin, #plasma, ngraham Reviewed By: ngraham Subscribers: ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D27558
32 lines
754 B
CMake
32 lines
754 B
CMake
# KI18N Translation Domain for this library
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwincommon\")
|
|
|
|
include_directories(${KWin_SOURCE_DIR}/effects)
|
|
|
|
set(kcmkwincommon_SRC
|
|
effectsmodel.cpp
|
|
)
|
|
|
|
qt5_add_dbus_interface(kcmkwincommon_SRC
|
|
${KWin_SOURCE_DIR}/org.kde.kwin.Effects.xml kwin_effects_interface
|
|
)
|
|
|
|
add_library(kcmkwincommon SHARED ${kcmkwincommon_SRC})
|
|
|
|
target_link_libraries(kcmkwincommon
|
|
Qt5::Core
|
|
Qt5::DBus
|
|
KF5::CoreAddons
|
|
KF5::ConfigCore
|
|
KF5::I18n
|
|
KF5::Package
|
|
KF5::KCMUtils
|
|
kwin4_effect_builtins
|
|
)
|
|
|
|
set_target_properties(kcmkwincommon PROPERTIES
|
|
VERSION ${PROJECT_VERSION}
|
|
SOVERSION ${PROJECT_VERSION_MAJOR}
|
|
)
|
|
|
|
install(TARGETS kcmkwincommon ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|