diff --git a/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp b/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp index 230b8e131..1ae2fb354 100644 --- a/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp +++ b/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp @@ -20,6 +20,7 @@ ****************************************************************/ #include +#include #include #include "gui/statusbar/OpModeStatus.h" @@ -96,6 +97,19 @@ void OpModeStatus::setOpMode() QVariant var = itemData(idx); uint32_t opMode = var.toUInt(); + QString message = tr("

Warning: This Operating mode disables the tunneling service. This means you can use distant chat not anonymously download files and the mail service will be slower.

This state will be saved after restart, so do not forget that you changed it!

"); + + if(opMode == RS_OPMODE_NOTURTLE && ! Settings->getPageAlreadyDisplayed(QString("RS_OPMODE_NO_TURTLE"))) + { + QMessageBox::warning(NULL,tr("Turtle routing disabled!"),message); + Settings->setPageAlreadyDisplayed(QString("RS_OPMODE_NO_TURTLE"),true) ; + } + if( (opMode == RS_OPMODE_MINIMAL && ! Settings->getPageAlreadyDisplayed(QString("RS_OPMODE_MINIMAL")))) + { + QMessageBox::warning(NULL,tr("Turtle routing disabled!"),message); + Settings->setPageAlreadyDisplayed(QString("RS_OPMODE_MINIMAL"),true) ; + } + rsConfig->setOperatingMode(opMode); // reload to be safe.