2021-10-27 Fred Gleason <fredg@paravelsystems.com>

* Refactored the 'Add Clock' dialog in rdlogmanager(1) to allow
	specification of the clock code as well as name.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-10-27 15:06:39 -04:00
parent 4a98b80c28
commit 0ae01975b9
7 changed files with 154 additions and 85 deletions

View File

@@ -213,7 +213,7 @@ void EditGrid::aboutToShowData()
void EditGrid::editClockData()
{
std::vector<QString> new_clocks;
QStringList new_clocks;
int dayofweek=edit_rightclick_id/24+1;
int hour=edit_rightclick_id-24*(dayofweek-1);