mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Move header and declaration to the top of the file
This commit is contained in:
parent
75b44558d6
commit
374758fd41
@ -89,6 +89,9 @@
|
|||||||
|
|
||||||
#include "QsLog.h"
|
#include "QsLog.h"
|
||||||
|
|
||||||
|
#include "yacreader_http_server.h"
|
||||||
|
extern YACReaderHttpServer *httpServer;
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#endif
|
#endif
|
||||||
@ -2595,8 +2598,7 @@ void LibraryWindow::showImportComicsInfo()
|
|||||||
importComicsInfoDialog->dest = currentPath() + "/.yacreaderlibrary/library.ydb";
|
importComicsInfoDialog->dest = currentPath() + "/.yacreaderlibrary/library.ydb";
|
||||||
importComicsInfoDialog->open();
|
importComicsInfoDialog->open();
|
||||||
}
|
}
|
||||||
#include "yacreader_http_server.h"
|
|
||||||
extern YACReaderHttpServer *httpServer;
|
|
||||||
void LibraryWindow::closeEvent(QCloseEvent *event)
|
void LibraryWindow::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
if (!trayIconController->handleCloseToTrayIcon(event)) {
|
if (!trayIconController->handleCloseToTrayIcon(event)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user