mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
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:
parent
d1785d5e2a
commit
32f918c213
7 changed files with 57 additions and 168 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue