Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
f1b334ca
Commit
f1b334ca
authored
Feb 01, 2008
by
Clinton Stimpson
Browse files
ENH: Show version number in window title.
parent
2564097e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/QtDialog/CMakeSetup.cxx
View file @
f1b334ca
...
...
@@ -24,6 +24,7 @@
#include "cmDocumentation.h"
#include "cmSystemTools.h"
#include "cmake.h"
#include "cmVersion.h"
//----------------------------------------------------------------------------
static
const
char
*
cmDocumentationName
[][
3
]
=
...
...
@@ -106,7 +107,9 @@ int main(int argc, char** argv)
}
CMakeSetupDialog
dialog
;
dialog
.
setWindowTitle
(
QApplication
::
applicationName
());
QString
title
=
QString
(
"CMake %1"
);
title
=
title
.
arg
(
cmVersion
::
GetCMakeVersion
().
c_str
());
dialog
.
setWindowTitle
(
title
);
dialog
.
show
();
// for now: args support specifying build and/or source directory
...
...
Source/QtDialog/CMakeSetupDialog.cxx
View file @
f1b334ca
...
...
@@ -550,7 +550,7 @@ void CMakeSetupDialog::doDeleteCache()
void
CMakeSetupDialog
::
doAbout
()
{
QString
msg
=
QApplication
::
applicationName
()
+
"
\n
www.cmake.org"
;
QString
msg
=
"CMake
\n
www.cmake.org"
;
QDialog
dialog
;
dialog
.
setWindowTitle
(
tr
(
"About"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment