gui/test: Put createAction() to anonymous namespace

This commit is contained in:
Povilas Kanapickas 2021-01-10 15:28:06 +02:00
parent 79d266d274
commit a004cd8eba
1 changed files with 32 additions and 29 deletions

View File

@ -96,6 +96,8 @@ struct TestHotKey
std::vector<TestAction> actions;
};
namespace {
Action createAction(const TestAction& test_action)
{
Action action;
@ -129,6 +131,7 @@ Action createAction(const TestAction& test_action)
}
return action;
}
} // namespace
void doHotkeyLoadSaveTest(const TestHotKey& test_hotkey, QSettings::Format format)
{