style cleanup

This commit is contained in:
Akash Mozumdar 2019-06-18 00:39:50 -04:00
parent 68534619aa
commit d9ba1e5854
2 changed files with 3 additions and 2 deletions

View File

@ -450,7 +450,8 @@ void MainWindow::FindHooks()
{ {
if (std::regex_search(text, filter)) hooks->append(S(Util::GenerateCode(hp, processId)) + ": " + S(text) + "\n"); if (std::regex_search(text, filter)) hooks->append(S(Util::GenerateCode(hp, processId)) + ": " + S(text) + "\n");
}); });
} catch (std::out_of_range) { return; } }
catch (std::out_of_range) { return; }
QString saveFile = QFileDialog::getSaveFileName(this, SAVE_SEARCH_RESULTS, "./Hooks.txt", TEXT_FILES); QString saveFile = QFileDialog::getSaveFileName(this, SAVE_SEARCH_RESULTS, "./Hooks.txt", TEXT_FILES);
if (saveFile.isEmpty()) saveFile = "Hooks.txt"; if (saveFile.isEmpty()) saveFile = "Hooks.txt";
std::thread([hooks, saveFile] std::thread([hooks, saveFile]