mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2018-02-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDApplication::userChanged() signal.
This commit is contained in:
@@ -316,7 +316,7 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
// RIPC Connection
|
||||
//
|
||||
connect(rda->ripc(),SIGNAL(connected(bool)),this,SLOT(ripcConnected(bool)));
|
||||
connect(rda->ripc(),SIGNAL(userChanged()),this,SLOT(userData()));
|
||||
connect(rda,SIGNAL(userChanged()),this,SLOT(userData()));
|
||||
connect(rda->ripc(),SIGNAL(rmlReceived(RDMacro *)),
|
||||
this,SLOT(rmlReceivedData(RDMacro *)));
|
||||
connect(rda->ripc(),SIGNAL(gpiStateChanged(int,int,bool)),
|
||||
@@ -1434,13 +1434,6 @@ void MainWidget::logReloadedData(int log)
|
||||
|
||||
void MainWidget::userData()
|
||||
{
|
||||
/*
|
||||
if(rduser!=NULL) {
|
||||
delete rduser;
|
||||
}
|
||||
rduser=new RDUser(rda->ripc()->user());
|
||||
*/
|
||||
rda->user()->setName(rda->ripc()->user());
|
||||
LogLine(RDConfig::LogInfo,QString().
|
||||
sprintf("user changed to '%s'",(const char *)rda->ripc()->user()));
|
||||
SetCaption();
|
||||
|
Reference in New Issue
Block a user