mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
Add message, when sending arguments to other instance, to disable this
option.
This commit is contained in:
parent
56e079739c
commit
9b09187340
@ -48,6 +48,7 @@ GeneralPage::GeneralPage(QWidget * parent, Qt::WindowFlags flags)
|
|||||||
ui.chkRunRetroshareAtSystemStartup->setEnabled(false);
|
ui.chkRunRetroshareAtSystemStartup->setEnabled(false);
|
||||||
ui.chkRunRetroshareAtSystemStartupMinimized->setEnabled(false);
|
ui.chkRunRetroshareAtSystemStartupMinimized->setEnabled(false);
|
||||||
#endif
|
#endif
|
||||||
|
ui.desktopFileMissingLabel->setVisible(false);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
ui.chkRunRetroshareAtSystemStartup->setVisible(false);
|
ui.chkRunRetroshareAtSystemStartup->setVisible(false);
|
||||||
|
@ -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;
|
std::cerr << "Rshare::Rshare Connection etablished. Waiting for disconnection." << std::endl;
|
||||||
localSocket.waitForDisconnected(1000);
|
localSocket.waitForDisconnected(1000);
|
||||||
newArgs.detach();
|
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
|
::exit(EXIT_SUCCESS); // Terminate the program using STDLib's exit function
|
||||||
}
|
}
|
||||||
newArgs.detach();
|
newArgs.detach();
|
||||||
|
Loading…
Reference in New Issue
Block a user