2018-02-01 Fred Gleason <fredg@paravelsystems.com>

* Added an 'RDApplication::userChanged() signal.
This commit is contained in:
Fred Gleason
2018-01-31 17:17:31 -05:00
parent b1d43dde69
commit 0e47266a4d
13 changed files with 26 additions and 33 deletions

View File

@@ -75,7 +75,7 @@ MainObject::MainObject(QObject *parent)
//
// RIPC Connection
//
connect(rda->ripc(),SIGNAL(userChanged()),this,SLOT(userData()));
connect(rda,SIGNAL(userChanged()),this,SLOT(userData()));
rda->ripc()->
connectHost("localhost",RIPCD_TCP_PORT,rda->config()->password());
}
@@ -90,7 +90,6 @@ void MainObject::userData()
// Get User Context
//
disconnect(rda->ripc(),SIGNAL(userChanged()),this,SLOT(userData()));
rda->user()->setName(rda->ripc()->user());
//
// Start up command processor