Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Only show warning messages by default

REVIEW: 129832
parent ed4a9f42
......@@ -9,4 +9,4 @@
#include "debug_p.h"
Q_LOGGING_CATEGORY(OkularCoreDebug, "org.kde.okular.core")
Q_LOGGING_CATEGORY(OkularCoreDebug, "org.kde.okular.core", QtWarningMsg)
......@@ -18,6 +18,6 @@
*/
#include "kio_mits_debug.h"
Q_LOGGING_CATEGORY(KIO_MITS_LOG, "org.kde.kio.msits")
Q_LOGGING_CATEGORY(KIO_MITS_LOG, "org.kde.kio.msits", QtWarningMsg)
......@@ -92,7 +92,7 @@ bool ComicBookGenerator::print( QPrinter& printer )
return true;
}
Q_LOGGING_CATEGORY(OkularComicbookDebug, "org.kde.okular.generators.comicbook")
Q_LOGGING_CATEGORY(OkularComicbookDebug, "org.kde.okular.generators.comicbook", QtWarningMsg)
#include "generator_comicbook.moc"
......@@ -571,7 +571,7 @@ QVariant DviGenerator::metaData( const QString & key, const QVariant & option )
return QVariant();
}
Q_LOGGING_CATEGORY(OkularDviDebug, "org.kde.okular.generators.dvi.core")
Q_LOGGING_CATEGORY(OkularDviShellDebug, "org.kde.okular.generators.dvi.shell")
Q_LOGGING_CATEGORY(OkularDviDebug, "org.kde.okular.generators.dvi.core", QtWarningMsg)
Q_LOGGING_CATEGORY(OkularDviShellDebug, "org.kde.okular.generators.dvi.shell", QtWarningMsg)
#include "generator_dvi.moc"
......@@ -13,7 +13,7 @@
#include <QRegExp>
Q_LOGGING_CATEGORY(OkularEpuDebug, "org.kde.okular.generators.epu")
Q_LOGGING_CATEGORY(OkularEpuDebug, "org.kde.okular.generators.epu", QtWarningMsg)
using namespace Epub;
EpubDocument::EpubDocument(const QString &fileName) : QTextDocument(),
......
......@@ -18,6 +18,6 @@
*/
#include "fax_debug.h"
Q_LOGGING_CATEGORY(FAX_LOG, "org.kde.okular.generators.fax")
Q_LOGGING_CATEGORY(FAX_LOG, "org.kde.okular.generators.fax", QtWarningMsg)
......@@ -18,7 +18,7 @@
using namespace OOO;
Q_LOGGING_CATEGORY(OkularOooDebug, "org.kde.okular.generators.ooo")
Q_LOGGING_CATEGORY(OkularOooDebug, "org.kde.okular.generators.ooo", QtWarningMsg)
//---------------------------------------------------------------------
ManifestEntry::ManifestEntry( const QString &fileName ) :
......
......@@ -1703,6 +1703,6 @@ Okular::AnnotationProxy* PDFGenerator::annotationProxy() const
#include "generator_pdf.moc"
Q_LOGGING_CATEGORY(OkularPdfDebug, "org.kde.okular.generators.pdf")
Q_LOGGING_CATEGORY(OkularPdfDebug, "org.kde.okular.generators.pdf", QtWarningMsg)
/* kate: replace-tabs on; indent-width 4; */
......@@ -18,6 +18,6 @@
*/
#include "spectre_debug.h"
Q_LOGGING_CATEGORY(OkularSpectreDebug, "org.kde.okular.generators.spectre")
Q_LOGGING_CATEGORY(OkularSpectreDebug, "org.kde.okular.generators.spectre", QtWarningMsg)
......@@ -433,7 +433,7 @@ int TIFFGenerator::mapPage( int page ) const
return it.value();
}
Q_LOGGING_CATEGORY(OkularTiffDebug, "org.kde.okular.generators.tiff")
Q_LOGGING_CATEGORY(OkularTiffDebug, "org.kde.okular.generators.tiff", QtWarningMsg)
#include "generator_tiff.moc"
......@@ -71,4 +71,4 @@ QString Document::toUnicode( const QByteArray &array )
return QTextCodec::codecForName( encoding )->toUnicode( array );
}
Q_LOGGING_CATEGORY(OkularTxtDebug, "org.kde.okular.generators.txt")
Q_LOGGING_CATEGORY(OkularTxtDebug, "org.kde.okular.generators.txt", QtWarningMsg)
......@@ -2234,7 +2234,7 @@ QVariant XpsRenderNode::getChildData( const QString &name )
}
}
Q_LOGGING_CATEGORY(OkularXpsDebug, "org.kde.okular.generators.xps")
Q_LOGGING_CATEGORY(OkularXpsDebug, "org.kde.okular.generators.xps", QtWarningMsg)
#include "generator_xps.moc"
......@@ -9,4 +9,4 @@
#include "debug_ui.h"
Q_LOGGING_CATEGORY(OkularUiDebug, "org.kde.okular.ui")
Q_LOGGING_CATEGORY(OkularUiDebug, "org.kde.okular.ui", QtWarningMsg)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment