mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Windows: fix depreceation warnings
- winsock2.h should be included before windows.h - QProcess::execute('name') -> QProcess::execute('name', args);
This commit is contained in:
parent
64d271b092
commit
e490ec1c4d
4 changed files with 7 additions and 3 deletions
|
@ -48,7 +48,7 @@ void DriveFormatThread::run()
|
|||
"select partition 1\r\n"
|
||||
"set id=0e\r\n"
|
||||
"assign\r\n";
|
||||
proc.start("diskpart");
|
||||
proc.start("diskpart", QStringList());
|
||||
proc.waitForStarted();
|
||||
proc.write(diskpartCmds);
|
||||
proc.closeWriteChannel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue