removed get function prefix in Version

This commit is contained in:
fourtf
2019-10-07 22:32:11 +02:00
parent ec2a2f30b7
commit aeab038bc8
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ void Window::onAccountSelected()
auto user = getApp()->accounts->twitch.getCurrent();
// update title
this->setWindowTitle(Version::getInstance().getFullVersion());
this->setWindowTitle(Version::getInstance().fullVersion());
// update user
if (user->isAnon())
+4 -4
View File
@@ -77,14 +77,14 @@ AboutPage::AboutPage()
{
auto version = Version::getInstance();
QString text = QString("%1 (commit %2%3)")
.arg(version.getFullVersion())
.arg(version.fullVersion())
.arg("<a "
"href=\"https://github.com/Chatterino/"
"chatterino2/commit/" +
version.getCommitHash() + "\">" +
version.getCommitHash() + "</a>")
version.commitHash() + "\">" +
version.commitHash() + "</a>")
.arg(Modes::getInstance().isNightly
? ", " + version.getDateOfBuild()
? ", " + version.dateOfBuild()
: "");
auto versionLabel = versionInfo.emplace<QLabel>(text);