Corrected determination of search popup's title (#3790)
This commit is contained in:
@@ -109,17 +109,17 @@ void SearchPopup::updateWindowTitle()
|
|||||||
{
|
{
|
||||||
QString historyName;
|
QString historyName;
|
||||||
|
|
||||||
if (this->channelName_ == "/whispers")
|
if (this->searchChannels_.size() > 1)
|
||||||
{
|
{
|
||||||
historyName = "whispers";
|
historyName = "multiple channels'";
|
||||||
}
|
}
|
||||||
else if (this->channelName_ == "/mentions")
|
else if (this->channelName_ == "/mentions")
|
||||||
{
|
{
|
||||||
historyName = "mentions";
|
historyName = "mentions";
|
||||||
}
|
}
|
||||||
else if (this->searchChannels_.size() > 1)
|
else if (this->channelName_ == "/whispers")
|
||||||
{
|
{
|
||||||
historyName = "multiple channels'";
|
historyName = "whispers";
|
||||||
}
|
}
|
||||||
else if (this->channelName_.isEmpty())
|
else if (this->channelName_.isEmpty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user