Skip to content

Commit

Permalink
jouca you forgor about web utils
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Nov 3, 2023
1 parent 82a8f0b commit 8923d2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MoreLeaderboardsCell.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "MoreLeaderboardsCell.h"
#include <Geode/utils/web.hpp>

void MoreLeaderboardsCell::loadFromDict(cocos2d::CCDictionary* content) //
{
Expand Down Expand Up @@ -123,5 +124,5 @@ void MoreLeaderboardsCell::callback_user(CCObject* pSender) {

void MoreLeaderboardsCell::callback_link(CCObject* pSender) {
auto data = static_cast<CCString*>(static_cast<CCNode*>(pSender)->getUserObject());
ShellExecute(0, 0, data->getCString(), 0, 0 , SW_SHOW );
}
web::openLinkInBrowser(data->getCString());
}

0 comments on commit 8923d2c

Please sign in to comment.