Commit ccfeeb60 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

pk: properly check for markdown support

parent 12eb9859
......@@ -28,7 +28,7 @@
#include <QJsonArray>
#include <QDebug>
#if WITH_MARKDOWN
#if defined(WITH_MARKDOWN)
extern "C" {
#include <mkdio.h>
}
......@@ -257,7 +257,7 @@ void PackageKitResource::updateDetail(const QString& packageID, const QStringLis
const QStringList& /*bugzillaUrls*/, const QStringList& /*cveUrls*/, PackageKit::Transaction::Restart restart, const QString &_updateText,
const QString& /*changelog*/, PackageKit::Transaction::UpdateState state, const QDateTime& /*issued*/, const QDateTime& /*updated*/)
{
#if WITH_MARKDOWN
#if defined(WITH_MARKDOWN)
const char* xx = _updateText.toUtf8().constData();
MMIOT *markdownHandle = mkd_string(xx, _updateText.size(), 0);
......
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