diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index 672847aa9..adc014ac5 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -1720,10 +1720,6 @@ void MainWindow::openRsCollection(const QString &filename) } } -void MainWindow::processLastArgs() -{ -} - void MainWindow::switchVisibilityStatus(StatusElement e,bool b) { switch(e) diff --git a/retroshare-gui/src/gui/MainWindow.h b/retroshare-gui/src/gui/MainWindow.h index 64211d67d..a7f3013f1 100644 --- a/retroshare-gui/src/gui/MainWindow.h +++ b/retroshare-gui/src/gui/MainWindow.h @@ -214,7 +214,6 @@ public slots: void externalLinkActivated(const QUrl &url); void retroshareLinkActivated(const QUrl &url); void openRsCollection(const QString &filename); - void processLastArgs(); //! Go to a specific part of the control panel. void setNewPage(int page); void setCompactStatusMode(bool compact); diff --git a/retroshare-gui/src/main.cpp b/retroshare-gui/src/main.cpp index 0eeca919d..228f24067 100644 --- a/retroshare-gui/src/main.cpp +++ b/retroshare-gui/src/main.cpp @@ -352,18 +352,6 @@ feenableexcept(FE_INVALID | FE_DIVBYZERO); RsInit::InitRsConfig(); RsGUIConfigOptions conf; -//#define ARG_RESET "reset" /**< Reset Rshare's saved settings. */ -//#define ARG_DATADIR "datadir" /**< Directory to use for data files. */ -//#define ARG_LOGFILE "logfile" /**< Location of our logfile. */ -//#define ARG_LOGLEVEL "loglevel" /**< Log verbosity. */ -//#define ARG_GUISTYLE "style" /**< Argument specfying GUI style. */ -//#define ARG_GUISTYLESHEET "stylesheet" /**< Argument specfying GUI style. */ -//#define ARG_LANGUAGE "lang" /**< Argument specifying language. */ -//#define ARG_OPMODE_L "opmode" /**< OpMode (Full, NoTurtle, Gaming, Minimal) */ -//#define ARG_RSLINK_S "r" /**< Open RsLink with protocol retroshare:// */ -//#define ARG_RSLINK_L "link" /**< Open RsLink with protocol retroshare:// */ -//#define ARG_RSFILE_S "f" /**< Open RsFile with or without arg. */ -//#define ARG_RSFILE_L "rsfile" /**< Open RsFile with or without arg. */ std::string rslink,rsfile; std::list links_and_files; @@ -721,8 +709,6 @@ feenableexcept(FE_INVALID | FE_DIVBYZERO); MainWindow *w = MainWindow::Create (); splashScreen.finish(w); - w->processLastArgs(); - if (!sDefaultGXSIdToCreate.isEmpty()) { RsIdentityParameters params; params.nickname = sDefaultGXSIdToCreate.toUtf8().constData();