mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
cli: s/main/run
The MinGW64 build of Qt6 renames 'main' to 'qMain' to ensure its runtime is executed first. This unfortunately fouls anything else called 'main', so rename the symbol to 'run'.
This commit is contained in:
parent
7bc17004f4
commit
84c3b14ce9
3 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ Cli::~Cli()
|
|||
delete _app;
|
||||
}
|
||||
|
||||
int Cli::main()
|
||||
int Cli::run()
|
||||
{
|
||||
QCommandLineParser parser;
|
||||
parser.addOptions({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue