From d13f6bb870cdda71257f665367be8ef9fca86255 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Tue, 17 May 2022 11:47:01 +0200 Subject: Apply clang-format. --- src/modinfoforeign.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/modinfoforeign.cpp') diff --git a/src/modinfoforeign.cpp b/src/modinfoforeign.cpp index 97d3f4e1..db90aa41 100644 --- a/src/modinfoforeign.cpp +++ b/src/modinfoforeign.cpp @@ -15,8 +15,8 @@ QDateTime ModInfoForeign::creationTime() const QString ModInfoForeign::absolutePath() const { - //I ought to store this, it's used elsewhere - IPluginGame const *game = qApp->property("managed_game").value(); + // I ought to store this, it's used elsewhere + IPluginGame const* game = qApp->property("managed_game").value(); return game->dataDirectory().absolutePath(); } @@ -39,28 +39,28 @@ int ModInfoForeign::getHighlight() const QString ModInfoForeign::getDescription() const { - return tr("This pseudo mod represents content managed outside MO. It isn't modified by MO."); + return tr("This pseudo mod represents content managed outside MO. It isn't modified " + "by MO."); } -ModInfoForeign::ModInfoForeign( - const QString &modName, const QString &referenceFile, - const QStringList &archives, ModInfo::EModType modType, - OrganizerCore& core) - : ModInfoWithConflictInfo(core), - m_ReferenceFile(referenceFile), m_Archives(archives), m_ModType(modType) +ModInfoForeign::ModInfoForeign(const QString& modName, const QString& referenceFile, + const QStringList& archives, ModInfo::EModType modType, + OrganizerCore& core) + : ModInfoWithConflictInfo(core), m_ReferenceFile(referenceFile), + m_Archives(archives), m_ModType(modType) { m_CreationTime = QFileInfo(referenceFile).birthTime(); switch (modType) { case ModInfo::EModType::MOD_DLC: - m_Name = tr("DLC: ") + modName; + m_Name = tr("DLC: ") + modName; m_InternalName = QString("DLC: ") + modName; break; case ModInfo::EModType::MOD_CC: - m_Name = tr("Creation Club: ") + modName; + m_Name = tr("Creation Club: ") + modName; m_InternalName = QString("Creation Club: ") + modName; break; default: - m_Name = tr("Unmanaged: ") + modName; + m_Name = tr("Unmanaged: ") + modName; m_InternalName = QString("Unmanaged: ") + modName; } } -- cgit v1.3.1