removed get function prefix in Version
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user