2022-10-06 Fred Gleason <fredg@paravelsystems.com>

* Changed the type of the 'SWITCHER_NODES.PASSWORD` field in the
	database to 'text'.
	* Applied Base64 encoding to the 'SWITCHER_NODES.PASSWORD' field in
	the database.
	* Incremented the database version to 361.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-10-06 17:25:26 -04:00
parent ddd62c10ed
commit ef4930caf9
8 changed files with 82 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
//
// A Rivendell LWRP audio switcher driver for LiveWire networks.
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -64,10 +64,11 @@ LiveWireLwrpAudio::LiveWireLwrpAudio(RDMatrix *matrix,QObject *parent)
connect(livewire_nodes.back(),
SIGNAL(watchdogStateChanged(unsigned,const QString &)),
this,SLOT(watchdogStateChangedData(unsigned,const QString &)));
livewire_nodes.back()->connectToHost(q->value(0).toString(),
q->value(1).toInt(),
q->value(2).toString(),
q->value(3).toUInt());
livewire_nodes.back()->
connectToHost(q->value(0).toString(),
q->value(1).toInt(),
QByteArray::fromBase64(q->value(2).toString().toUtf8()),
q->value(3).toUInt());
}
delete q;
}