Skip to content

Commit

Permalink
gui: Add version info to about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
JJL772 committed May 31, 2024
1 parent f830765 commit 6ebdc4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui/viewer.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "viewer.hpp"

#include "common/vtex2_version.h"

#include "common/enums.hpp"
#include "common/image.hpp"
#include "common/util.hpp"
Expand Down Expand Up @@ -243,8 +245,8 @@ void ViewerMainWindow::setup_menubar() {
{
QMessageBox::about(
this, tr("About"),
"VTFView & vtex2 by Strata Source\n\nBuilt using VTFLib by Neil 'Jed' Jedrzejewski & Ryan Gregg, "
"modified by Joshua Ashton");
QString("VTFView %1\nvtex2 %1\n\nCopyright (C) 2024, Strata Source Contributors\n\nBuilt using VTFLib by Neil 'Jed' Jedrzejewski & Ryan Gregg, "
"modified by Joshua Ashton").arg(VTEX2_VERSION));
});
helpMenu->addAction(
"About Qt",
Expand Down

0 comments on commit 6ebdc4c

Please sign in to comment.