X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;h=fa885b9350ddd243af41f3845d9561c8cf8fae0e;hb=777d91165d4548099d63f5ed216a2c457fee4029;hp=a63ad067de2a9e2ae53ab811fc40a185b11b371b;hpb=04315f46a16fc3627218377071e008b6b9744992;p=quassel.git diff --git a/src/qtui/settingspages/aliasesmodel.cpp b/src/qtui/settingspages/aliasesmodel.cpp index a63ad067..fa885b93 100644 --- a/src/qtui/settingspages/aliasesmodel.cpp +++ b/src/qtui/settingspages/aliasesmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -64,6 +64,8 @@ QVariant AliasesModel::data(const QModelIndex &index, int role) const " - $i..j represents the i'th to j'th parameter separated by spaces.
" " - $i.. represents all parameters from i on separated by spaces.
" " - $i:hostname represents the hostname of the user identified by the i'th parameter or a * if unknown.
" + " - $i:ident represents the ident of the user identified by the i'th parameter or a * if unknown.
" + " - $i:account represents the account of the user identified by the i'th parameter or a * if logged out or unknown.
" " - $0 the whole string.
" " - $nick your current nickname
" " - $channel the name of the selected channel

" @@ -238,7 +240,8 @@ void AliasesModel::revert() _configChanged = false; emit configChanged(false); - reset(); + beginResetModel(); + endResetModel(); } @@ -255,7 +258,8 @@ void AliasesModel::commit() void AliasesModel::initDone() { _modelReady = true; - reset(); + beginResetModel(); + endResetModel(); emit modelReady(true); } @@ -275,6 +279,7 @@ void AliasesModel::clientDisconnected() // clear _clonedAliasManager = ClientAliasManager(); _modelReady = false; - reset(); + beginResetModel(); + endResetModel(); emit modelReady(false); }