Rename s to httpServer

This commit is contained in:
Luis Ángel San Martín
2022-10-13 23:30:04 +02:00
parent be0c0ff341
commit 05a3172012
4 changed files with 22 additions and 22 deletions

View File

@ -2596,7 +2596,7 @@ void LibraryWindow::showImportComicsInfo()
importComicsInfoDialog->open();
}
#include "yacreader_http_server.h"
extern YACReaderHttpServer *s;
extern YACReaderHttpServer *httpServer;
void LibraryWindow::closeEvent(QCloseEvent *event)
{
if (!trayIconController->handleCloseToTrayIcon(event)) {
@ -2607,7 +2607,7 @@ void LibraryWindow::closeEvent(QCloseEvent *event)
void LibraryWindow::prepareToCloseApp()
{
s->stop();
httpServer->stop();
settings->setValue(MAIN_WINDOW_GEOMETRY, saveGeometry());
contentViewsManager->comicsView->close();