Qt6 QTranslator::load() uses [[nodiscard]] which currently leads to
compiler warnings. This is fixed using static_cast<void>.
Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
applicationDirPath() was used before a QApplication was instantiated
so it returned an empty path. This caused the application language
files path to be computed incorrectly.
To have qucs in a relocatable directory (in Windows) it cannot rely
the prefix given at build time. This is actually a bug.
This patch let each tool find the language files at runtime, relative
to the location of the executable.
Compiled without Qt3Support.
Testes on a Mac. I'm not sure about the menubar space.
It also doens't update the layoutsize when changing from
Bridged Tee to Tee, only when go up to Pi again.