mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-05 23:49:20 +00:00
disable the (already unused) knewstuff2 stuff from compilation and installation
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066279
This commit is contained in:
parent
27f6d2dd65
commit
52ce4cc095
|
@ -172,7 +172,7 @@ qt4_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpe
|
|||
|
||||
kde4_add_plugin(okularpart ${okularpart_SRCS})
|
||||
|
||||
target_link_libraries(okularpart okularcore ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KNEWSTUFF2_LIBS} ${MATH_LIB} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_PHONON_LIBRARY})
|
||||
target_link_libraries(okularpart okularcore ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${MATH_LIB} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_PHONON_LIBRARY})
|
||||
|
||||
install(TARGETS okularpart DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||
|
||||
|
|
4
part.cpp
4
part.cpp
|
@ -55,7 +55,9 @@
|
|||
#include <kio/job.h>
|
||||
#include <kicon.h>
|
||||
#include <kfilterdev.h>
|
||||
#if 0
|
||||
#include <knewstuff2/engine.h>
|
||||
#endif
|
||||
#include <kdeprintdialog.h>
|
||||
#include <kprintpreview.h>
|
||||
|
||||
|
@ -1574,11 +1576,13 @@ void Part::slotSaveCopyAs()
|
|||
|
||||
void Part::slotGetNewStuff()
|
||||
{
|
||||
#if 0
|
||||
KNS::Engine engine(widget());
|
||||
engine.init( "okular.knsrc" );
|
||||
// show the modal dialog over pageview and execute it
|
||||
KNS::Entry::List entries = engine.downloadDialogModal( m_pageView );
|
||||
Q_UNUSED( entries )
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -47,7 +47,9 @@ install(FILES
|
|||
# install misc images
|
||||
|
||||
# newstuff
|
||||
if (FALSE)
|
||||
install(FILES
|
||||
okular.knsrc
|
||||
DESTINATION ${CONFIG_INSTALL_DIR})
|
||||
endif (FALSE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue