Commit 416f47e9 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Remove KDE_COMPILERSETTINGS_LEVEL

parent e2624e90
Pipeline #185931 passed with stage
in 2 minutes and 20 seconds
......@@ -4,7 +4,6 @@ project(mobipocket)
find_package(ECM 5.90.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} )
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
include(FeatureSummary)
include(GenerateExportHeader)
include(ECMOptionalAddSubdirectory)
......
......@@ -133,11 +133,11 @@ struct DocumentPrivate
void DocumentPrivate::parseHtmlHead(const QString& data)
{
static QRegExp title("<dc:title.*>(.*)</dc:title>", Qt::CaseInsensitive);
static QRegExp author("<dc:creator.*>(.*)</dc:creator>", Qt::CaseInsensitive);
static QRegExp copyright("<dc:rights.*>(.*)</dc:rights>", Qt::CaseInsensitive);
static QRegExp subject("<dc:subject.*>(.*)</dc:subject>", Qt::CaseInsensitive);
static QRegExp description("<dc:description.*>(.*)</dc:description>", Qt::CaseInsensitive);
static QRegExp title(QLatin1String("<dc:title.*>(.*)</dc:title>"), Qt::CaseInsensitive);
static QRegExp author(QLatin1String("<dc:creator.*>(.*)</dc:creator>"), Qt::CaseInsensitive);
static QRegExp copyright(QLatin1String("<dc:rights.*>(.*)</dc:rights>"), Qt::CaseInsensitive);
static QRegExp subject(QLatin1String("<dc:subject.*>(.*)</dc:subject>"), Qt::CaseInsensitive);
static QRegExp description(QLatin1String("<dc:description.*>(.*)</dc:description>"), Qt::CaseInsensitive);
title.setMinimal(true);
author.setMinimal(true);
copyright.setMinimal(true);
......
Supports Markdown
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