From 8f443fc5fd25664cb7ff8f589b58fada6aca7c87 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 2 Apr 2007 23:36:00 +0000 Subject: [PATCH] disable the old newstuff system, waiting for the porting to the new one svn path=/trunk/playground/graphics/okular/; revision=649662 --- CMakeLists.txt | 2 +- part.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 138f394f4..0a95584ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,7 +112,7 @@ set(okularpart_SRCS ui/findbar.cpp ui/formwidgets.cpp ui/minibar.cpp - ui/newstuff.cpp +# ui/newstuff.cpp ui/pageitemdelegate.cpp ui/pagepainter.cpp ui/pagesizelabel.cpp diff --git a/part.cpp b/part.cpp index a03d51227..71dde8c8f 100644 --- a/part.cpp +++ b/part.cpp @@ -60,7 +60,9 @@ #include "ui/thumbnaillist.h" #include "ui/side_reviews.h" #include "ui/minibar.h" +#if 0 #include "ui/newstuff.h" +#endif #include "ui/embeddedfilesdialog.h" #include "ui/propertiesdialog.h" #include "ui/presentationwidget.h" @@ -1113,11 +1115,13 @@ void Part::slotSaveFileAs() void Part::slotGetNewStuff() { +#if 0 // show the modal dialog over pageview and execute it NewStuffDialog * dialog = new NewStuffDialog( m_pageView ); connect ( dialog , SIGNAL ( loadItemClicked( const KUrl & ) ), this , SLOT ( openUrlFromDocument ( const KUrl & ) ) ); dialog->exec(); delete dialog; +#endif }