X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;h=fa885b9350ddd243af41f3845d9561c8cf8fae0e;hb=63fc3ba0333a0555f6f04d49a45aa321b07d10ac;hp=f689a99c8de704b10770e6588dd61f306dd3670c;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/qtui/settingspages/aliasesmodel.cpp b/src/qtui/settingspages/aliasesmodel.cpp index f689a99c..fa885b93 100644 --- a/src/qtui/settingspages/aliasesmodel.cpp +++ b/src/qtui/settingspages/aliasesmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 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); }