mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Set standard style of public/lobby chat to compact colored.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7639 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
392159ae4b
commit
6c2cc75f2b
@ -773,7 +773,7 @@
|
||||
<enum>QTabWidget::North</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="publicTab">
|
||||
<attribute name="title">
|
||||
|
@ -607,12 +607,12 @@ void RshareSettings::setChatScreenFont(const QString &font)
|
||||
|
||||
void RshareSettings::getPublicChatStyle(QString &stylePath, QString &styleVariant)
|
||||
{
|
||||
stylePath = valueFromGroup("Chat", "StylePublic", ":/qss/chat/standard/public").toString();
|
||||
stylePath = valueFromGroup("Chat", "StylePublic", ":/qss/chat/compact/public").toString();
|
||||
// Correct changed standard path for older RetroShare versions before 31.01.2012 (can be removed later)
|
||||
if (stylePath == ":/qss/chat/public") {
|
||||
stylePath = ":/qss/chat/standard/public";
|
||||
}
|
||||
styleVariant = valueFromGroup("Chat", "StylePublicVariant", "").toString();
|
||||
styleVariant = valueFromGroup("Chat", "StylePublicVariant", "Colored").toString();
|
||||
}
|
||||
|
||||
void RshareSettings::setPublicChatStyle(const QString &stylePath, const QString &styleVariant)
|
||||
|
Loading…
Reference in New Issue
Block a user