PKGBUILDs/community/mysql-workbench/0002-disable-unsupported-operating-system-warning.patch

27 lines
962 B
Diff
Raw Normal View History

2018-07-30 13:50:44 +00:00
From 98a9974f550dfb5c8f66213774e4ef95848127e1 Mon Sep 17 00:00:00 2001
2017-02-09 01:21:13 +00:00
From: Christian Hesse <mail@eworm.de>
2018-07-30 13:50:44 +00:00
Date: Mon, 23 Jul 2018 11:04:55 +0200
Subject: [PATCH 2/4] disable-unsupported-operating-system-warning
2017-02-09 01:21:13 +00:00
Signed-off-by: Christian Hesse <mail@eworm.de>
---
backend/wbprivate/workbench/wb_context.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/backend/wbprivate/workbench/wb_context.cpp b/backend/wbprivate/workbench/wb_context.cpp
2018-07-30 13:50:44 +00:00
index e80501a..a4047b1 100644
2017-02-09 01:21:13 +00:00
--- a/backend/wbprivate/workbench/wb_context.cpp
+++ b/backend/wbprivate/workbench/wb_context.cpp
2018-07-30 13:50:44 +00:00
@@ -1011,9 +1011,11 @@ void WBContext::init_finish_(WBOptions *options) {
2017-02-09 01:21:13 +00:00
_frontendCallbacks->show_status_text(_("Ready."));
+#if 0
2018-07-30 13:50:44 +00:00
// Avoid our runtime tests to lock up when a modal warning dialog is displayed.
if (options->open_at_startup_type != "run-script")
2017-02-09 01:21:13 +00:00
warnIfRunningOnUnsupportedOS();
+#endif
try {
// execute action requested from command line