more cleaning in PR 2844

This commit is contained in:
csoler 2024-03-04 23:32:50 +01:00
parent 2a5698c9d3
commit c0d222dedf
3 changed files with 0 additions and 19 deletions

View File

@ -1720,10 +1720,6 @@ void MainWindow::openRsCollection(const QString &filename)
}
}
void MainWindow::processLastArgs()
{
}
void MainWindow::switchVisibilityStatus(StatusElement e,bool b)
{
switch(e)

View File

@ -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);

View File

@ -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<std::string> 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();