aboutsummaryrefslogtreecommitdiff
path: root/src/events/NotificationReceivedEvent.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-07-26 11:59:38 +0530
committerAkshay Nair <phenax5@gmail.com>2025-07-26 11:59:38 +0530
commit2078c60477842d7cf6991148e23979565737a8b5 (patch)
tree980e2aea150e85c6b87f2b521fce1006486244d8 /src/events/NotificationReceivedEvent.hpp
parent68448538172663279919b29dd09b5faa51e0628a (diff)
downloadnull-browser-2078c60477842d7cf6991148e23979565737a8b5.tar.gz
null-browser-2078c60477842d7cf6991148e23979565737a8b5.zip
Refactor heavy + extras.tabline module (incomplete)
Diffstat (limited to 'src/events/NotificationReceivedEvent.hpp')
-rw-r--r--src/events/NotificationReceivedEvent.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/events/NotificationReceivedEvent.hpp b/src/events/NotificationReceivedEvent.hpp
index ade2132..fd5a554 100644
--- a/src/events/NotificationReceivedEvent.hpp
+++ b/src/events/NotificationReceivedEvent.hpp
@@ -16,8 +16,7 @@ public:
}
void lua_push(lua_State *state) const override {
- lua_newtable(state);
- SET_FIELD("type", string, kind.toStdString().c_str())
+ Event::lua_push(state);
SET_FIELD("title", string, notification->title().toStdString().c_str())
SET_FIELD("message", string, notification->message().toStdString().c_str())
SET_FIELD("tag", string, notification->tag().toStdString().c_str())