From 54d98e291701f2187174a67c186f1ea762c6b959 Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Tue, 16 Jul 2019 05:38:32 -0400
Subject: removed unused or redundant stuff in error_report.h renamed log() to
vlog() for now extracted console creation to Console class rewrote LogBuffer
to work with logging from uibase, renamed to LogModel added fmt dependency
---
src/profile.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'src/profile.cpp')
diff --git a/src/profile.cpp b/src/profile.cpp
index ef387027..01906903 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -287,8 +287,11 @@ void Profile::createTweakedIniFile()
}
if (error) {
- reportError(tr("failed to create tweaked ini: %1").arg(getCurrentErrorString().c_str()));
+ const auto e = ::GetLastError();
+ reportError(tr("failed to create tweaked ini: %1")
+ .arg(formatSystemMessageQ(e)));
}
+
qDebug("%s saved", qUtf8Printable(QDir::toNativeSeparators(tweakedIni)));
}
--
cgit v1.3.1
From aae6d6a5aa8d6b101fcc38388222a8a6e7ee2ec6 Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Fri, 19 Jul 2019 01:09:19 -0400
Subject: replaced qWarning()
---
src/bbcode.cpp | 9 ++++----
src/categories.cpp | 3 ++-
src/directoryrefresher.cpp | 4 ++--
src/downloadmanager.cpp | 21 +++++++++---------
src/editexecutablesdialog.cpp | 19 ++++++++--------
src/executableslist.cpp | 6 +++---
src/filerenamer.cpp | 7 ++++--
src/icondelegate.cpp | 4 +++-
src/installationmanager.cpp | 2 +-
src/instancemanager.cpp | 14 +++++++-----
src/mainwindow.cpp | 50 +++++++++++++++++++++++--------------------
src/moapplication.cpp | 5 +++--
src/modflagicondelegate.cpp | 4 +++-
src/modinfo.cpp | 2 +-
src/modinfodialogesps.cpp | 7 +++---
src/modlist.cpp | 7 +++---
src/modlistsortproxy.cpp | 6 ++++--
src/nexusinterface.cpp | 27 +++++++++++++----------
src/nxmaccessmanager.cpp | 2 +-
src/organizercore.cpp | 46 +++++++++++++++++++--------------------
src/plugincontainer.cpp | 11 +++++-----
src/pluginlist.cpp | 4 ++--
src/problemsdialog.cpp | 2 +-
src/profile.cpp | 21 ++++++++++--------
src/profilesdialog.cpp | 4 ++--
src/settings.cpp | 5 +++--
26 files changed, 161 insertions(+), 131 deletions(-)
(limited to 'src/profile.cpp')
diff --git a/src/bbcode.cpp b/src/bbcode.cpp
index 323dd128..d9b7debd 100644
--- a/src/bbcode.cpp
+++ b/src/bbcode.cpp
@@ -18,13 +18,13 @@ along with Mod Organizer. If not, see .
*/
#include "bbcode.h"
-
+#include
#include
#include