Moved some internal stylesheets to the file Standard.qss.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5495 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-09-01 11:40:54 +00:00
parent d1785d5e2a
commit 32f918c213
7 changed files with 57 additions and 168 deletions

View file

@ -87,7 +87,7 @@ Rshare::qt_msg_handler(QtMsgType type, const char *s)
/** Constructor. Parses the command-line arguments, resets Rshare's
* configuration (if requested), and sets up the GUI style and language
* translation. */
Rshare::Rshare(QStringList args, int &argc, char **argv, QString dir)
Rshare::Rshare(QStringList args, int &argc, char **argv, const QString &dir)
: QApplication(argc, argv)
{
qInstallMsgHandler(qt_msg_handler);
@ -345,6 +345,10 @@ Rshare::setSheet(QString sheet)
}
/* Apply the specified GUI stylesheet */
_stylesheet = sheet;
/* load the StyleSheet*/
loadStyleSheet(_stylesheet);
return true;
}