mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Update dialog info when it is shown
This commit is contained in:
@ -113,6 +113,13 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent)
|
||||
connect(check, &QCheckBox::stateChanged, this, &ServerConfigDialog::enableServer);
|
||||
}
|
||||
|
||||
void ServerConfigDialog::showEvent(QShowEvent *event)
|
||||
{
|
||||
QDialog::showEvent(event);
|
||||
|
||||
generateQR();
|
||||
}
|
||||
|
||||
void ServerConfigDialog::enableServer(int status)
|
||||
{
|
||||
QSettings *settings = new QSettings(YACReader::getSettingsPath() + "/YACReaderLibrary.ini", QSettings::IniFormat); // TODO unificar la creación del fichero de config con el servidor
|
||||
|
Reference in New Issue
Block a user