mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -04:00
more cleaning in PR 2844
This commit is contained in:
parent
2a5698c9d3
commit
c0d222dedf
3 changed files with 0 additions and 19 deletions
|
@ -1720,10 +1720,6 @@ void MainWindow::openRsCollection(const QString &filename)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::processLastArgs()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::switchVisibilityStatus(StatusElement e,bool b)
|
void MainWindow::switchVisibilityStatus(StatusElement e,bool b)
|
||||||
{
|
{
|
||||||
switch(e)
|
switch(e)
|
||||||
|
|
|
@ -214,7 +214,6 @@ public slots:
|
||||||
void externalLinkActivated(const QUrl &url);
|
void externalLinkActivated(const QUrl &url);
|
||||||
void retroshareLinkActivated(const QUrl &url);
|
void retroshareLinkActivated(const QUrl &url);
|
||||||
void openRsCollection(const QString &filename);
|
void openRsCollection(const QString &filename);
|
||||||
void processLastArgs();
|
|
||||||
//! Go to a specific part of the control panel.
|
//! Go to a specific part of the control panel.
|
||||||
void setNewPage(int page);
|
void setNewPage(int page);
|
||||||
void setCompactStatusMode(bool compact);
|
void setCompactStatusMode(bool compact);
|
||||||
|
|
|
@ -352,18 +352,6 @@ feenableexcept(FE_INVALID | FE_DIVBYZERO);
|
||||||
RsInit::InitRsConfig();
|
RsInit::InitRsConfig();
|
||||||
|
|
||||||
RsGUIConfigOptions conf;
|
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::string rslink,rsfile;
|
||||||
std::list<std::string> links_and_files;
|
std::list<std::string> links_and_files;
|
||||||
|
@ -721,8 +709,6 @@ feenableexcept(FE_INVALID | FE_DIVBYZERO);
|
||||||
MainWindow *w = MainWindow::Create ();
|
MainWindow *w = MainWindow::Create ();
|
||||||
splashScreen.finish(w);
|
splashScreen.finish(w);
|
||||||
|
|
||||||
w->processLastArgs();
|
|
||||||
|
|
||||||
if (!sDefaultGXSIdToCreate.isEmpty()) {
|
if (!sDefaultGXSIdToCreate.isEmpty()) {
|
||||||
RsIdentityParameters params;
|
RsIdentityParameters params;
|
||||||
params.nickname = sDefaultGXSIdToCreate.toUtf8().constData();
|
params.nickname = sDefaultGXSIdToCreate.toUtf8().constData();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue