mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
more cleaning in PR 2844
This commit is contained in:
parent
2a5698c9d3
commit
c0d222dedf
@ -1720,10 +1720,6 @@ void MainWindow::openRsCollection(const QString &filename)
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::processLastArgs()
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::switchVisibilityStatus(StatusElement e,bool b)
|
||||
{
|
||||
switch(e)
|
||||
|
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user