summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-06-08 11:20:46 +0800
committerIru Cai <mytbk920423@gmail.com>2018-06-08 11:28:29 +0800
commit694c65abb38f3afc933a3037937bb1dec0328254 (patch)
tree2784aab995ea8bdec945acc5ad6964a7dfc38bc5
parentee5c3462b3d470097625bf4426f2453fb335f632 (diff)
downloadfqterm-694c65abb38f3afc933a3037937bb1dec0328254.tar.xz
set application name and version
-rw-r--r--src/fqterm/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fqterm/main.cpp b/src/fqterm/main.cpp
index 8efa99c..08378fa 100644
--- a/src/fqterm/main.cpp
+++ b/src/fqterm/main.cpp
@@ -83,6 +83,8 @@
int main(int argc, char **argv) {
QApplication a(argc, argv);
+ a.setApplicationName("FQTerm");
+ a.setApplicationVersion(FQTERM_VERSION_STRING);
// Set trace categories and level.
FQTerm::setMaxTraceLevel(1);
for (int i = 1; i < argc; ++i) {