summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 11:23:35 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 11:23:35 (GMT)
commit7a9036ec2bc83196297537182c24b6640b2ffdec (patch)
tree0aa1704ec2a4c94e5f8e9e0fe01771c96605fe02
parent272e8eb556ca66ddba393f1cae99ec4ea29ec98a (diff)
Fix wrong usage of pragma
-rw-r--r--core/document.cpp4
-rw-r--r--ui/pagepainter.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/document.cpp b/core/document.cpp
index f720172..44b1286 100644
--- a/core/document.cpp
+++ b/core/document.cpp
@@ -973,7 +973,7 @@ Document::OpenResult DocumentPrivate::openDocumentInternal( const KService::Ptr&
QApplication::restoreOverrideCursor();
if ( openResult != Document::OpenSuccess || m_pagesVector.size() <= 0 )
{
-#pragma("KF5: FIXME load translations")
+#pragma message("KF5: FIXME load translations")
// if ( !catalogName.isEmpty() )
// KGlobal::locale()->removeCatalog( catalogName );
@@ -2411,7 +2411,7 @@ void Document::closeDocument()
QHash< QString, GeneratorInfo >::const_iterator genIt = d->m_loadedGenerators.constFind( d->m_generatorName );
Q_ASSERT( genIt != d->m_loadedGenerators.constEnd() );
-#pragma("KF5: FIXME load translations")
+#pragma message("KF5: FIXME load translations")
// if ( !genIt.value().catalogName.isEmpty() && !genIt.value().config )
// KGlobal::locale()->removeCatalog( genIt.value().catalogName );
}
diff --git a/ui/pagepainter.cpp b/ui/pagepainter.cpp
index 7d4b59c..55a56c3 100644
--- a/ui/pagepainter.cpp
+++ b/ui/pagepainter.cpp
@@ -351,7 +351,7 @@ void PagePainter::paintCroppedPageOnPainter( QPainter * destPainter, const Okula
break;
case Okular::SettingsCore::EnumRenderMode::Recolor:
// Recolor image using Blitz::flatten with dither:0
-#pragma("KF5: implement RenderMode::Recolor again")
+#pragma message("KF5: implement RenderMode::Recolor again")
// Blitz::flatten( backImage, Okular::Settings::recolorForeground(), Okular::Settings::recolorBackground() );
break;
case Okular::SettingsCore::EnumRenderMode::BlackWhite: