chore: clean up after new compiler warnings

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-06-04 14:59:37 -07:00
parent 7e0e1ec51d
commit cc41b039e6
25 changed files with 74 additions and 78 deletions

View File

@ -91,10 +91,9 @@ class LinkTask : public Task {
emitSucceeded();
}
};
}
FS::create_link *m_lnk;
bool m_useHard = false;
bool m_linkRecursive = true;
};
@ -346,7 +345,7 @@ slots:
void test_link()
{
QString folder = QFINDTESTDATA("testdata/FileSystem/test_folder");
auto f = [&folder, this]()
auto f = [&folder]()
{
QTemporaryDir tempDir;
tempDir.setAutoRemove(true);
@ -640,7 +639,7 @@ slots:
void test_link_with_max_depth()
{
QString folder = QFINDTESTDATA("testdata/FileSystem/test_folder");
auto f = [&folder, this]()
auto f = [&folder]()
{
QTemporaryDir tempDir;
tempDir.setAutoRemove(true);