print:version format.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <QFileInfo>
|
||||
#include <QMutex>
|
||||
#include <QStandardPaths>
|
||||
#include <fversion.h>
|
||||
#include <iostream>
|
||||
#include <spdlog/fmt/bundled/color.h>
|
||||
#include <spdlog/fmt/fmt.h>
|
||||
@@ -118,6 +119,12 @@ void Util::ConsoleMsgHander(QtMsgType type, const QMessageLogContext& context, c
|
||||
}
|
||||
}
|
||||
|
||||
QString Util::GetVersion()
|
||||
{
|
||||
auto ver = QString("frelay %1 %2").arg(VERSION_NUM, VERSION_DEV);
|
||||
return ver;
|
||||
}
|
||||
|
||||
QString DirFileHelper::GetErr() const
|
||||
{
|
||||
return QString();
|
||||
|
||||
Reference in New Issue
Block a user