mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
update remaining
This commit is contained in:
parent
aa7fef26c4
commit
b3fb5fe1ce
1 changed files with 3 additions and 4 deletions
|
|
@ -193,7 +193,7 @@ void MainWindow::activateAccepted()
|
||||||
void MainWindow::actConnect()
|
void MainWindow::actConnect()
|
||||||
{
|
{
|
||||||
dlgConnect = new DlgConnect(this);
|
dlgConnect = new DlgConnect(this);
|
||||||
connect(dlgConnect, SIGNAL(sigStartForgotPasswordRequest()), this, &MainWindow::actForgotPasswordRequest);
|
connect(dlgConnect, &DlgConnect::sigStartForgotPasswordRequest, this, &MainWindow::actForgotPasswordRequest);
|
||||||
|
|
||||||
if (dlgConnect->exec()) {
|
if (dlgConnect->exec()) {
|
||||||
client->connectToServer(dlgConnect->getHost(), static_cast<unsigned int>(dlgConnect->getPort()),
|
client->connectToServer(dlgConnect->getHost(), static_cast<unsigned int>(dlgConnect->getPort()),
|
||||||
|
|
@ -717,7 +717,7 @@ void MainWindow::createActions()
|
||||||
connect(aVisualDeckStorage, &QAction::triggered, this, &MainWindow::actVisualDeckStorage);
|
connect(aVisualDeckStorage, &QAction::triggered, this, &MainWindow::actVisualDeckStorage);
|
||||||
aFullScreen = new QAction(this);
|
aFullScreen = new QAction(this);
|
||||||
aFullScreen->setCheckable(true);
|
aFullScreen->setCheckable(true);
|
||||||
connect(aFullScreen, SIGNAL(toggled(bool)), this, SLOT(actFullScreen(bool)));
|
connect(aFullScreen, &QAction::toggled, this, &MainWindow::actFullScreen);
|
||||||
aRegister = new QAction(this);
|
aRegister = new QAction(this);
|
||||||
connect(aRegister, &QAction::triggered, this, &MainWindow::actRegister);
|
connect(aRegister, &QAction::triggered, this, &MainWindow::actRegister);
|
||||||
aForgotPassword = new QAction(this);
|
aForgotPassword = new QAction(this);
|
||||||
|
|
@ -1157,8 +1157,7 @@ void MainWindow::actCheckCardUpdates()
|
||||||
|
|
||||||
connect(cardUpdateProcess, &QProcess::errorOccurred, this, &MainWindow::cardUpdateError);
|
connect(cardUpdateProcess, &QProcess::errorOccurred, this, &MainWindow::cardUpdateError);
|
||||||
|
|
||||||
connect(cardUpdateProcess, SIGNAL(finished(int, QProcess::ExitStatus)), this,
|
connect(cardUpdateProcess, &QProcess::finished, this, &MainWindow::cardUpdateFinished);
|
||||||
SLOT(cardUpdateFinished(int, QProcess::ExitStatus)));
|
|
||||||
|
|
||||||
// full "run the update" command; leave empty if not present
|
// full "run the update" command; leave empty if not present
|
||||||
QString updaterCmd;
|
QString updaterCmd;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue