Fix 'no return' error when building rpm package
This commit is contained in:
parent
fd2429b477
commit
aa5a057aab
|
@ -21,6 +21,8 @@ QString statusString(SyncthingDevStatus status)
|
|||
return QCoreApplication::translate("SyncthingDevStatus", "out of sync");
|
||||
case SyncthingDevStatus::Rejected:
|
||||
return QCoreApplication::translate("SyncthingDevStatus", "rejected");
|
||||
default:
|
||||
return QString();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,8 @@ QString statusString(SyncthingDirStatus status)
|
|||
return QCoreApplication::translate("SyncthingDirStatus", "synchronizing");
|
||||
case SyncthingDirStatus::OutOfSync:
|
||||
return QCoreApplication::translate("SyncthingDirStatus", "out of sync");
|
||||
default:
|
||||
return QString();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue