diff --git a/clients/b2/CMakeLists.txt b/clients/b2/CMakeLists.txt index d76578f5f1..66fd87187e 100644 --- a/clients/b2/CMakeLists.txt +++ b/clients/b2/CMakeLists.txt @@ -13,7 +13,7 @@ kde4_automoc(${kwin3_b2_PART_SRCS}) kde4_add_plugin(kwin3_b2 ${kwin3_b2_PART_SRCS}) -target_link_libraries(kwin3_b2 ${KDE4_KDEFX_LIBS} kdecorations ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES} ${QT_QTGUI_LIBRARY}) +target_link_libraries(kwin3_b2 ${KDE4_KDEFX_LIBS} ${KDE4_KDEUI_LIBS} kdecorations ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES} ${QT_QTGUI_LIBRARY}) install(TARGETS kwin3_b2 DESTINATION ${PLUGIN_INSTALL_DIR}) diff --git a/kcmkwin/kwindecoration/preview.cpp b/kcmkwin/kwindecoration/preview.cpp index 5a02661636..cccdbb43f4 100644 --- a/kcmkwin/kwindecoration/preview.cpp +++ b/kcmkwin/kwindecoration/preview.cpp @@ -328,7 +328,7 @@ NET::WindowType KDecorationPreviewBridge::windowType( unsigned long ) const QIcon KDecorationPreviewBridge::icon() const { - return QIcon( KGlobal::iconLoader()->loadIcon( "xapp", K3Icon::NoGroup, 32 )); + return QIcon( kapp->iconLoader()->loadIcon( "xapp", K3Icon::NoGroup, 32 )); } QString KDecorationPreviewBridge::caption() const