Commit d908b897 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED code cleanup

parent b2c9a6ed
......@@ -28,6 +28,7 @@
#include <Application.h>
#include <MainWindow.h>
#include <Log.h>
#include <QColor>
#include <QMessageBox>
......@@ -60,7 +61,7 @@ Action::ApplyStatus ShowBitmapViewer::apply() {
Application::getMainWindow()->setCentralViewer(BitmapViewer::getInstance());
Application::refresh();
if (firstCall) {
QMessageBox::information(nullptr,"Switch Viewer From the Menu", "The next time you can also use the \"View Menu\" item \"Toggle Central Viewers\" to switch the central viewer from/to the Medical Image Viewer");
CAMITK_INFO("TIP: switch central wiewers from the menu: do you know that you can use the \"View Menu\" item \"Toggle Central Viewers\" to switch the central viewer from/to the Medical Image Viewer");
firstCall = false;
}
return SUCCESS;
......
......@@ -23,8 +23,8 @@
* $CAMITK_LICENCE_END$
****************************************************************************/
#ifndef SWITCH_VIEWER_H
#define SWITCH_VIEWER_H
#ifndef SHOW_BITMAP_VIEWER_H
#define SHOW_BITMAP_VIEWER_H
#include <Action.h>
......@@ -55,4 +55,4 @@ public slots:
bool firstCall;
};
#endif // SWITCH_VIEWER_H
#endif // SHOW_BITMAP_VIEWER_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment