Commit edb50062 authored by Martin Klapetek's avatar Martin Klapetek Committed by Alexander Akulich
Browse files

[declarative] Set the default scrollback length to 20

parent 4b7fb639
......@@ -77,7 +77,7 @@ MessagesModel::MessagesModel(const Tp::AccountPtr &account, QObject *parent) :
//Load configuration for number of message to show
KConfig config(QLatin1String("ktelepathyrc"));
KConfigGroup tabConfig ="Behavior");
d->logManager->setScrollbackLength(tabConfig.readEntry<int>("scrollbackLength", 10));
d->logManager->setScrollbackLength(tabConfig.readEntry<int>("scrollbackLength", 20));
QHash<int, QByteArray> MessagesModel::roleNames() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment