Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

fix #599 made a link to the repo #741

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/about.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ std::string about::get_link_discord()
{
return std::string("https://discord.gg/QMZMaTx5b4");
}

std::string about::get_link_repo()
{
return std::string("https://github.com/tresinformal/drakkar");
}
/*
{
about ab;
Expand All @@ -61,6 +66,10 @@ void test_about()
std::vector<std::string> contributors = ab.get_contributors();
}

{
about ab;
std::string link_to_gh = ab.get_link_repo();
}

#ifdef FIX_ISSUE_600
// (600) The list of contributors is up-to-date
Expand Down
3 changes: 3 additions & 0 deletions src/about.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class about

/// Get a discord link that is permanent
std::string get_link_discord();

/// Get a repo link that is permanent
std::string get_link_repo();
};

void test_about();
Expand Down