From 9b0918734001213a7eebe1ea37a1550b67d6b874 Mon Sep 17 00:00:00 2001 From: Phenom Date: Tue, 14 Jun 2016 15:10:15 +0200 Subject: [PATCH] Add message, when sending arguments to other instance, to disable this option. --- retroshare-gui/src/gui/settings/GeneralPage.cpp | 1 + retroshare-gui/src/rshare.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/retroshare-gui/src/gui/settings/GeneralPage.cpp b/retroshare-gui/src/gui/settings/GeneralPage.cpp index e3608e65c..63d1910a8 100755 --- a/retroshare-gui/src/gui/settings/GeneralPage.cpp +++ b/retroshare-gui/src/gui/settings/GeneralPage.cpp @@ -48,6 +48,7 @@ GeneralPage::GeneralPage(QWidget * parent, Qt::WindowFlags flags) ui.chkRunRetroshareAtSystemStartup->setEnabled(false); ui.chkRunRetroshareAtSystemStartupMinimized->setEnabled(false); #endif + ui.desktopFileMissingLabel->setVisible(false); #else ui.chkRunRetroshareAtSystemStartup->setVisible(false); diff --git a/retroshare-gui/src/rshare.cpp b/retroshare-gui/src/rshare.cpp index 58e6fce0a..a2de0840a 100644 --- a/retroshare-gui/src/rshare.cpp +++ b/retroshare-gui/src/rshare.cpp @@ -167,6 +167,9 @@ Rshare::Rshare(QStringList args, int &argc, char **argv, const QString &dir) std::cerr << "Rshare::Rshare Connection etablished. Waiting for disconnection." << std::endl; localSocket.waitForDisconnected(1000); newArgs.detach(); + std::cerr << "Rshare::Rshare Arguments was sended." << std::endl + << " To disable it, in Options - General - Misc," << std::endl + << " uncheck \"Use Local Server to get new Arguments\"." << std::endl; ::exit(EXIT_SUCCESS); // Terminate the program using STDLib's exit function } newArgs.detach();