diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2025-05-29 11:04:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 11:04:36 +0200 |
| commit | 39210af3e59c929cba6de2d39ef1c32835f6388b (patch) | |
| tree | b77879fa376e7bfa016b14aa7635e7202b6cc69e /src/main.patch | |
| parent | 3a8ea3cccee06397e90305e1e39a305f8b7c3cb3 (diff) | |
Move to VCPKG (#2068)
* Remove SConscript related files.
* Force-load translations from uibase and gamebryo/creation.
* Bring githubpp here and add a standalone preset.
* Switch VersionInfo -> Version for ModOrganizer2. (#2063)
* Add pre-commit hook.
* Use 7zip build from VCPKG registry.
* Use archive.dll from the bin folder instead of dlls.
Diffstat (limited to 'src/main.patch')
| -rw-r--r-- | src/main.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/main.patch b/src/main.patch deleted file mode 100644 index 96b076b4..00000000 --- a/src/main.patch +++ /dev/null @@ -1,41 +0,0 @@ -Index: ./main.cpp -=================================================================== ---- ./main.cpp (revision 77) -+++ ./main.cpp (revision 94) -@@ -36,6 +36,7 @@ - #include <QMessageBox> - #include <QSharedMemory> - #include <QBuffer> -+#include <QSplashScreen> - #include <eh.h> - - //#pragma comment(linker, "/manifestDependency:\"name='dlls' processorArchitecture='*' version='1.0.0.0' type='win32' \"") -@@ -114,6 +115,7 @@ - - - class MyApplication : public QApplication { -+ - public: - - MyApplication(int argc, char **argv) -@@ -202,8 +204,10 @@ - { - MyApplication application(argc, argv); - SetUnhandledExceptionFilter(MyUnhandledExceptionFilter); -- - LogBuffer::init(20, QtDebugMsg, application.applicationDirPath().append("/mo_interface.log")); -+ QPixmap pixmap(":/new/guiresources/splash.png"); -+ QSplashScreen splash(pixmap); -+ splash.show(); - - QStringList arguments = application.arguments(); - -@@ -390,7 +394,7 @@ - (isNxmLink(arguments.at(1)))) { - mainWindow.externalMessage(arguments.at(1)); - } -- -+ splash.finish(&mainWindow); - return application.exec(); - } catch (const std::exception &e) { - reportError(e.what()); |
