X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;h=3fab383413cdbb2f0b801435fab2e9cdfa057bd1;hp=a63ad067de2a9e2ae53ab811fc40a185b11b371b;hb=a83608156c3a561a0ba6d9625303040c02329550;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e diff --git a/src/qtui/settingspages/aliasesmodel.cpp b/src/qtui/settingspages/aliasesmodel.cpp index a63ad067..3fab3834 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-2016 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); }