From 2217f82d321d8958b28651fb5ee83e3c472dea7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=9B=E3=81=84=E3=81=86=E3=81=AF=E3=82=93?= Date: Sun, 17 May 2020 18:49:21 +0800 Subject: [PATCH] Remove the java icon on macOS dock. (#1370) --- src/vplantumlhelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vplantumlhelper.cpp b/src/vplantumlhelper.cpp index d1d409e5..7e30ebe1 100644 --- a/src/vplantumlhelper.cpp +++ b/src/vplantumlhelper.cpp @@ -73,7 +73,7 @@ void VPlantUMLHelper::prepareCommand(QString &p_program, p_args << "java"; #endif - p_args << "-jar" << (p_jar.isEmpty() ? g_config->getPlantUMLJar() : p_jar); + p_args << "-Djava.awt.headless=true -jar" << (p_jar.isEmpty() ? g_config->getPlantUMLJar() : p_jar); p_args << "-charset" << "UTF-8"; /*