Commit d8e8c968 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QLatin1Char('/') here

parent 50dc43dd
cmake_minimum_required(VERSION 3.5)
set(PIM_VERSION "5.14.40")
set(PIM_VERSION "5.14.0")
project(KIdentityManagement VERSION ${PIM_VERSION})
......@@ -25,7 +25,7 @@ include(ECMQtDeclareLoggingCategory)
set(KIDENTITYMANAGEMENT_LIB_VERSION ${PIM_VERSION})
set(PIMTEXTEDIT_LIB_VERSION "5.14.40")
set(PIMTEXTEDIT_LIB_VERSION "5.14.0")
ecm_setup_version(PROJECT VARIABLE_PREFIX KIDENTITYMANAGEMENT
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kidentitymanagement_version.h"
......
......@@ -33,9 +33,9 @@
#include <KActionCollection>
#include <KShell>
#include <KPIMTextEdit/RichTextComposer>
#include <KPIMTextEdit/RichTextComposerControler>
#include <KPIMTextEdit/RichTextComposerImages>
#include <kpimtextedit/richtextcomposer.h>
#include <kpimtextedit/richtextcomposercontroler.h>
#include <kpimtextedit/richtextcomposerimages.h>
using namespace KIdentityManagement;
using namespace KPIMTextEdit;
......
......@@ -32,9 +32,9 @@
#include <assert.h>
#include <QDir>
#include <KPIMTextEdit/RichTextComposer>
#include <KPIMTextEdit/RichTextComposerControler>
#include <KPIMTextEdit/RichTextComposerImages>
#include <kpimtextedit/richtextcomposer.h>
#include <kpimtextedit/richtextcomposercontroler.h>
#include <kpimtextedit/richtextcomposerimages.h>
using namespace KIdentityManagement;
......
......@@ -48,7 +48,7 @@
#include <assert.h>
#include <QStandardPaths>
#include <KPIMTextEdit/RichTextEditorWidget>
#include <kpimtextedit/richtexteditorwidget.h>
using namespace KIdentityManagement;
......@@ -344,7 +344,7 @@ QString SignatureConfigurator::filePath() const
// Force the filename to be relative to ~ instead of $PWD depending
// on the rest of the code (KRun::run in Edit and KFileItem on save)
if (!file.isEmpty() && QFileInfo(file).isRelative()) {
file = QDir::home().absolutePath() + QDir::separator() + file;
file = QDir::home().absolutePath() + QLatin1Char('/') + file;
}
return file;
}
......
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