mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fixed online time in profile widget.
Fixed width of settings dialog. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6329 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fea35e1e3c
commit
dd0ef691c5
6 changed files with 76 additions and 40 deletions
|
@ -61,6 +61,7 @@ QString Rshare::_dateformat; /**< The format of dates in feed items etc
|
|||
Log Rshare::_log;
|
||||
bool Rshare::useConfigDir;
|
||||
QString Rshare::configDir;
|
||||
QDateTime Rshare::mStartupTime;
|
||||
|
||||
/** Catches debugging messages from Qt and sends them to RetroShare's logs. If Qt
|
||||
* emits a QtFatalMsg, we will write the message to the log and then abort().
|
||||
|
@ -95,6 +96,8 @@ Rshare::qt_msg_handler(QtMsgType type, const char *s)
|
|||
Rshare::Rshare(QStringList args, int &argc, char **argv, const QString &dir)
|
||||
: QApplication(argc, argv)
|
||||
{
|
||||
mStartupTime = QDateTime::currentDateTime();
|
||||
|
||||
qInstallMsgHandler(qt_msg_handler);
|
||||
|
||||
#ifndef __APPLE__
|
||||
|
@ -162,6 +165,11 @@ Rshare::run()
|
|||
return rApp->exec();
|
||||
}
|
||||
|
||||
QDateTime Rshare::startupTime()
|
||||
{
|
||||
return mStartupTime;
|
||||
}
|
||||
|
||||
/** Called when the application's main event loop has started. This method
|
||||
* will emit the running() signal to indicate that the application's event
|
||||
* loop is running. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue