| 586 | } |
| 587 | |
| 588 | int |
| 589 | PanoramicDialog::getFrequencyUnits(qint64 freq) |
| 590 | { |
| 591 | if (freq < 0) |
| 592 | freq = -freq; |
| 593 | |
| 594 | if (freq < 1000) |
| 595 | return 1; |
| 596 | |
| 597 | if (freq < 1000000) |
| 598 | return 1000; |
| 599 | |
| 600 | if (freq < 1000000000) |
| 601 | return 1000000; |
| 602 | |
| 603 | return 1000000000; |
| 604 | } |
| 605 | |
| 606 | |
| 607 | void |
nothing calls this directly
no outgoing calls
no test coverage detected