mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
commit
398db7dfe8
3 changed files with 12 additions and 3 deletions
|
@ -705,7 +705,7 @@ feenableexcept(FE_INVALID | FE_DIVBYZERO);
|
||||||
* only on the first run - as the user might want to change it ;)
|
* only on the first run - as the user might want to change it ;)
|
||||||
*/
|
*/
|
||||||
QString osx_style("cleanlooks");
|
QString osx_style("cleanlooks");
|
||||||
Rshare::setStyle(osx_style);
|
RsApplication::setStyle(osx_style);
|
||||||
Settings->setInterfaceStyle(osx_style);
|
Settings->setInterfaceStyle(osx_style);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -99,6 +99,12 @@ QStringList RsApplication::_files; /**< List of files passed by argume
|
||||||
bool RsApplication::useConfigDir;
|
bool RsApplication::useConfigDir;
|
||||||
QString RsApplication::configDir;
|
QString RsApplication::configDir;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
QStringList RsApplication::_links; /**< List of links passed by arguments. */
|
||||||
|
QStringList RsApplication::_files; /**< List of files passed by arguments. */
|
||||||
|
#endif
|
||||||
|
|
||||||
Log RsApplication::log_output; /**< Logs debugging messages to file or stdout. */
|
Log RsApplication::log_output; /**< Logs debugging messages to file or stdout. */
|
||||||
RsGUIConfigOptions RsApplication::options;
|
RsGUIConfigOptions RsApplication::options;
|
||||||
QDateTime RsApplication::mStartupTime;
|
QDateTime RsApplication::mStartupTime;
|
||||||
|
|
|
@ -138,7 +138,7 @@ public:
|
||||||
static void setOpMode(const QString& op ) { options.opModeStr = op.toStdString(); }
|
static void setOpMode(const QString& op ) { options.opModeStr = op.toStdString(); }
|
||||||
static QString opmode() { return QString::fromStdString(options.opModeStr); }
|
static QString opmode() { return QString::fromStdString(options.opModeStr); }
|
||||||
|
|
||||||
#ifdef TO_REMOVE
|
#ifdef __APPLE__
|
||||||
/** Returns links passed by arguments. */
|
/** Returns links passed by arguments. */
|
||||||
static QStringList* links() { return &_links; }
|
static QStringList* links() { return &_links; }
|
||||||
/** Returns files passed by arguments. */
|
/** Returns files passed by arguments. */
|
||||||
|
@ -209,7 +209,10 @@ private:
|
||||||
static bool argNeedsValue(const QString &argName);
|
static bool argNeedsValue(const QString &argName);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
static QStringList _links; /**< List of links passed by arguments. */
|
||||||
|
static QStringList _files; /**< List of files passed by arguments. */
|
||||||
|
#endif
|
||||||
static QDateTime mStartupTime; // startup time
|
static QDateTime mStartupTime; // startup time
|
||||||
bool mBlink;
|
bool mBlink;
|
||||||
static QLocalServer* localServer;
|
static QLocalServer* localServer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue