Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
8ec23e35
Commit
8ec23e35
authored
Aug 24, 2016
by
Stéphane Albert
Browse files
ENH: [mvd] Addded 'Debug' tag to main-window title.
parent
2b559b79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Visualization/Monteverdi/src/mvdMainWindow.cxx
View file @
8ec23e35
...
...
@@ -220,7 +220,12 @@ MainWindow
assert
(
m_UI
!=
NULL
);
setObjectName
(
PROJECT_NAME
);
#ifdef _DEBUG
setWindowTitle
(
PROJECT_NAME
"(Debug)"
);
#else // _DEBUG
setWindowTitle
(
PROJECT_NAME
);
#endif // _DEBUG
InitializeCentralWidget
();
...
...
@@ -1974,7 +1979,11 @@ MainWindow
assert
(
imageModel
!=
NULL
);
setWindowTitle
(
#ifdef _DEBUG
QString
(
PROJECT_NAME
" (Debug) - %1"
)
#else // _DEBUG
QString
(
PROJECT_NAME
" - %1"
)
#endif // _DEBUG
.
arg
(
QFileInfo
(
imageModel
->
GetFilename
()
).
fileName
()
)
);
...
...
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