~hmatuschek/+junk/qdmr-package

« back to all changes in this revision

Viewing changes to src/analogchanneldialog.cc

  • Committer: Hannes Matuschek
  • Date: 2020-07-07 14:34:22 UTC
  • mto: (17.1.1 qdmr-package)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: hmatuschek@gmail.com-20200707143422-1djcxrjkem3k5kb1
Tags: upstream-0.3.0
ImportĀ upstreamĀ versionĀ 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#include <QCompleter>
4
4
#include "ctcssbox.hh"
5
5
#include "repeaterdatabase.hh"
 
6
#include "utils.hh"
6
7
 
7
8
 
8
9
/* ********************************************************************************************* *
56
57
 
57
58
  if (_channel) {
58
59
    channelName->setText(_channel->name());
59
 
    rxFrequency->setText(QString::number(_channel->rxFrequency()));
60
 
    txFrequency->setText(QString::number(_channel->txFrequency()));
 
60
    rxFrequency->setText(format_frequency(_channel->rxFrequency()));
 
61
    txFrequency->setText(format_frequency(_channel->txFrequency()));
61
62
    if (Channel::HighPower==_channel->power())
62
63
      power->setCurrentIndex(0);
63
64
    else if (Channel::LowPower==_channel->power())