mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
sys: Replace the terrible event manager with a much better one
This commit is contained in:
@@ -53,7 +53,7 @@ int main(int argc, char **argv) {
|
||||
ContentRegistry::Views::add<ViewYara>();
|
||||
|
||||
if (argc > 1)
|
||||
View::postEvent(Events::FileDropped, const_cast<const char*>(argv[1]));
|
||||
EventManager::post<EventFileDropped>(argv[1]);
|
||||
|
||||
window.loop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user