Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Feb 6, 2025
1 parent b30ebaa commit 6863259
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

#include "controller.h"

#include <qhostaddress.h>

#include <QFileInfo>
#include <QNetworkInformation>

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/testcommandlineparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void TestCommandLineParser::basic() {
char** argv = (char**)malloc(sizeof(char*) * argc);

for (int i = 0; i < args.length(); ++i) {
argv[i] = _strdup(args[i].toLocal8Bit().data());
argv[i] = strdup(args[i].toLocal8Bit().data());
}

QFETCH(int, result);
Expand Down
8 changes: 3 additions & 5 deletions tests/unit/testcontroller_p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@

#include "testcontroller_p.h"

#include <qhostaddress.h>
#include <qjsonarray.h>
#include <qjsonobject.h>
#include <qtestcase.h>
#include <qtpreprocessorsupport.h>
#include <QHostAddress>
#include <QJsonArray>
#include <QJsonObject>

#include "controller_p.h"
#include "dnshelper.h"
Expand Down

0 comments on commit 6863259

Please sign in to comment.