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:
thunder2 2014-10-25 17:09:06 +00:00
parent 392159ae4b
commit 6c2cc75f2b
2 changed files with 3 additions and 3 deletions

View File

@ -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">

View File

@ -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)