gui/test: Put createAction() to anonymous namespace
This commit is contained in:
parent
79d266d274
commit
a004cd8eba
|
@ -96,8 +96,10 @@ struct TestHotKey
|
||||||
std::vector<TestAction> actions;
|
std::vector<TestAction> actions;
|
||||||
};
|
};
|
||||||
|
|
||||||
Action createAction(const TestAction& test_action)
|
namespace {
|
||||||
{
|
|
||||||
|
Action createAction(const TestAction& test_action)
|
||||||
|
{
|
||||||
Action action;
|
Action action;
|
||||||
action.setType(test_action.type);
|
action.setType(test_action.type);
|
||||||
|
|
||||||
|
@ -128,7 +130,8 @@ Action createAction(const TestAction& test_action)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
} // namespace
|
||||||
|
|
||||||
void doHotkeyLoadSaveTest(const TestHotKey& test_hotkey, QSettings::Format format)
|
void doHotkeyLoadSaveTest(const TestHotKey& test_hotkey, QSettings::Format format)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue