| |
|
File editpc_space.diff, 0.6 kB
(added by andreasf, 1 year ago)
|
Patch to only append non-empty QEMU parameters
|
-
cocoaControlEditPC.m
| old |
new |
|
| 1111 | 1111 | [[thisPC objectForKey:@"Arguments"] appendFormat:@"%@",[self constructFirewallArguments]]; |
|---|
| 1112 | 1112 | |
|---|
| 1113 | 1113 | /* qemu arguments */ |
|---|
| 1114 | | [[thisPC objectForKey:@"Arguments"] appendFormat:@" %@",[textFieldArguments stringValue]]; |
|---|
| | 1114 | if ([[textFieldArguments stringValue] length] > 0) |
|---|
| | 1115 | [[thisPC objectForKey:@"Arguments"] appendFormat:@" %@",[textFieldArguments stringValue]]; |
|---|
| 1115 | 1116 | |
|---|
| 1116 | 1117 | /* save PC */ |
|---|
| 1117 | 1118 | [qSender savePCConfiguration:thisPC]; |
Download in other formats:
| |