aboutsummaryrefslogtreecommitdiff
path: root/libs/lootcli/src/pch.h
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 03:00:11 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 03:00:11 -0500
commitb54e479a3f9e973a083c643905f21c59fadd63bb (patch)
treeff920cc2614c5d014e7de910cbad75875257776e /libs/lootcli/src/pch.h
parentbf7a57fc55493247a624ecfd65e4d73964e7d8d2 (diff)
Remove LOOT integration entirely
The sort button was already hidden on Linux (setVisible(false)) and the LOOT feedback path (LootDialog -> addLootReport) has always been Windows-only, meaning the dirty/incompatibilities/missingMasters/messages tooltip bullets and the dirty-plugin icon could never fire on Linux. MO2 shipped lootcli + libloot for a load-order sort mechanism that was unreachable from the UI. Users who want LOOT can download it from https://github.com/loot/loot and run it against their instance directly. - Drop libs/lootcli/, libloot Dockerfile build step, and lootcli staging/patchelf in build-inner.sh - Drop src/src/loot.{cpp,h}, src/src/lootdialog.{cpp,h,ui} - Extract MarkdownDocument / MarkdownPage (used by UpdateDialog for its changelog view) into src/src/markdowndocument.{h,cpp} - Strip addLootReport, makeLootTooltip, Loot::Plugin field, LOOT icon checks, and LOOT tooltip/isProblematic/hasInfo paths from pluginlist - Delete sortButton widget, updateSortButton(), onSortButtonClicked(), and all m_didUpdateMasterList wiring - Delete lootLogLevel setting, combo box, and "Integrated LOOT" group from the diagnostics settings tab
Diffstat (limited to 'libs/lootcli/src/pch.h')
-rw-r--r--libs/lootcli/src/pch.h84
1 files changed, 0 insertions, 84 deletions
diff --git a/libs/lootcli/src/pch.h b/libs/lootcli/src/pch.h
deleted file mode 100644
index cf460fd..0000000
--- a/libs/lootcli/src/pch.h
+++ /dev/null
@@ -1,84 +0,0 @@
-#ifdef _MSC_VER
-#pragma warning(disable : 4251) // neds to have dll-interface
-#pragma warning(disable : 4355) // this used in initializer list
-#pragma warning(disable : 4371) // layout may have changed
-#pragma warning(disable : 4514) // unreferenced inline function removed
-#pragma warning(disable : 4571) // catch semantics changed
-#pragma warning(disable : 4619) // no warning X
-#pragma warning(disable : 4623) // default constructor deleted
-#pragma warning(disable : 4625) // copy constructor deleted
-#pragma warning(disable : 4626) // copy assignment operator deleted
-#pragma warning(disable : 4710) // function not inlined
-#pragma warning(disable : 4820) // padding
-#pragma warning(disable : 4866) // left-to-right evaluation order
-#pragma warning(disable : 4868) // left-to-right evaluation order
-#pragma warning(disable : 5026) // move constructor deleted
-#pragma warning(disable : 5027) // move assignment operator deleted
-#pragma warning(disable : 5045) // spectre mitigation
-
-#pragma warning(push, 3)
-#pragma warning(disable : 4365) // signed/unsigned mismatch
-#pragma warning(disable : 4774) // bad format string
-#pragma warning(disable : 4946) // reinterpret_cast used between related classes
-#pragma warning(disable : 4800) // implicit conversion
-#endif
-
-// std
-#include <algorithm>
-#include <cstdint>
-#include <cstring>
-#include <exception>
-#include <filesystem>
-#include <fstream>
-#include <iostream>
-#include <locale>
-#include <map>
-#include <memory>
-#include <mutex>
-#include <optional>
-#include <regex>
-#include <set>
-#include <sstream>
-#include <stdexcept>
-#include <string>
-#include <thread>
-#include <utility>
-#include <vector>
-
-// qt
-#include <QDir>
-#include <QFileInfo>
-#include <QJsonArray>
-#include <QJsonDocument>
-#include <QJsonObject>
-
-// boost
-#include <boost/algorithm/string.hpp>
-#include <boost/lexical_cast.hpp>
-#include <boost/locale.hpp>
-
-// loot
-#include <loot/api.h>
-#include <loot/enum/game_type.h>
-
-// third-party
-#include <toml++/toml.h>
-
-#ifdef _WIN32
-// windows
-#define WIN32_LEAN_AND_MEAN
-#include <Shlobj.h>
-#include <Windows.h>
-#include <fcntl.h>
-#include <io.h>
-#include <shellapi.h>
-#else
-// Linux equivalents
-#include <cstdlib>
-#include <unistd.h>
-#endif
-
-#ifdef _MSC_VER
-#undef _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
-#pragma warning(pop)
-#endif