mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Build changes
- Add support for embedded Linux without X, dbus, udisks, ntp, etc. - Misc minor changes
This commit is contained in:
parent
71eefa47cf
commit
5b072f3196
13 changed files with 189 additions and 222 deletions
|
@ -134,6 +134,7 @@ void DriveFormatThread::run()
|
|||
{
|
||||
/* Not running as root, try to outsource formatting to udisks2 */
|
||||
|
||||
#ifndef QT_NO_DBUS
|
||||
UDisks2Api udisks2;
|
||||
if (udisks2.formatDrive(_device))
|
||||
{
|
||||
|
@ -141,8 +142,11 @@ void DriveFormatThread::run()
|
|||
}
|
||||
else
|
||||
{
|
||||
#endif
|
||||
emit error(tr("Error formatting (through udisks2)"));
|
||||
#ifndef QT_NO_DBUS
|
||||
}
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue