From 86be0cc48ac4b7477611a62d1ef1de40fda21adf Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 30 Mar 2007 21:40:45 +0000 Subject: [PATCH] SVN_SILENT QString::null instead of "" svn path=/branches/KDE/3.5/kdegraphics/kpdf/; revision=648282 --- core/link.cpp | 2 +- ui/presentationwidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/link.cpp b/core/link.cpp index 80a532601..d8e47a499 100644 --- a/core/link.cpp +++ b/core/link.cpp @@ -18,7 +18,7 @@ KPDFLink::~KPDFLink() QString KPDFLinkGoto::linkTip() const { - return m_extFileName.isEmpty() ? ( m_vp.pageNumber != -1 ? i18n( "Go to page %1" ).arg( m_vp.pageNumber + 1 ) : "" ) : i18n("Open external file"); + return m_extFileName.isEmpty() ? ( m_vp.pageNumber != -1 ? i18n( "Go to page %1" ).arg( m_vp.pageNumber + 1 ) : QString::null ) : i18n("Open external file"); } QString KPDFLinkExecute::linkTip() const diff --git a/ui/presentationwidget.cpp b/ui/presentationwidget.cpp index dad008ec9..4d9543e85 100644 --- a/ui/presentationwidget.cpp +++ b/ui/presentationwidget.cpp @@ -409,7 +409,7 @@ void PresentationWidget::testCursorOnLink( int x, int y ) setCursor( m_handCursor ? KCursor::handCursor() : KCursor::arrowCursor()); // set tooltip over link's rect - QString tip = link ? link->linkTip() : ""; + QString tip = link ? link->linkTip() : QString::null; if ( m_handCursor && !tip.isEmpty() ) QToolTip::add( this, linkRect, tip ); }