OSDN Git Service

okular: do not show welcome message
authorIvailo Monev <xakepa10@gmail.com>
Mon, 16 Mar 2015 13:31:42 +0000 (13:31 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Mon, 16 Mar 2015 13:31:42 +0000 (13:31 +0000)
okular/ui/pageview.cpp
okular/ui/pageview.h

index de51121..454dbfd 100644 (file)
@@ -397,9 +397,6 @@ PageView::PageView( QWidget *parent, Okular::Document *document )
     document->addObserver(d->magnifierView);
 
     connect(document, SIGNAL(processMovieAction(const Okular::MovieAction*)), this, SLOT(slotProcessMovieAction(const Okular::MovieAction*)));
-
-    // schedule the welcome message
-    QMetaObject::invokeMethod(this, "slotShowWelcome", Qt::QueuedConnection);
 }
 
 PageView::~PageView()
@@ -4520,12 +4517,6 @@ void PageView::slotDragScroll()
     updateSelection( p );
 }
 
-void PageView::slotShowWelcome()
-{
-    // show initial welcome text
-    d->messageWindow->display( i18n( "Welcome" ), QString(), PageViewMessage::Info, 2000 );
-}
-
 void PageView::slotShowSizeAllCursor()
 {
     setCursor( Qt::SizeAllCursor );
index c1fd9b6..6e9bcff 100644 (file)
@@ -203,8 +203,6 @@ Q_OBJECT
         void slotAutoScoll();
         // activated by the dragScroll timer
         void slotDragScroll();
-        // show the welcome message
-        void slotShowWelcome();
         // activated by left click timer
         void slotShowSizeAllCursor();