translations and cleanup

This commit is contained in:
2025-04-01 18:10:49 +03:00
parent 7275892b04
commit a73bf1fc53
6 changed files with 35 additions and 70 deletions

View File

@@ -1,4 +1,4 @@
#include "utils.h"
#include <utils/utils.h>
#ifdef BUILD_OFD_BINARYEYE_SCAN
# include <arpa/inet.h>
# include <qrencode.h>
@@ -6,7 +6,8 @@
# include <netinet/in.h>
#endif
#ifdef BUILD_OFD_MODE
# include "../exceptions/ofdrequestexception.h"
# include <exceptions/ofdrequestexception.h>
# include <fstream>
#endif
#include <codecvt>
#include <cstring>
@@ -19,12 +20,11 @@
#endif
#include <string>
#include <QWidget>
#include <fstream>
#include <boost/regex.hpp>
#include <net/net.h>
#include <settings/settings.h>
#ifdef BUILD_OFD_BINARYEYE_SCAN
std::string get_local_ip_address() {
struct ifaddrs * ifAddrStruct=NULL;