QTfrontend/chatwidget.cpp
changeset 2377 f3fab2b09e0c
parent 1921 2a09f7f786a0
child 2380 603965eca22b
--- a/QTfrontend/chatwidget.cpp	Thu Sep 10 15:29:28 2009 +0000
+++ b/QTfrontend/chatwidget.cpp	Thu Sep 10 15:30:11 2009 +0000
@@ -63,7 +63,7 @@
 	connect(acKick, SIGNAL(triggered(bool)), this, SLOT(onKick()));
 	acBan = new QAction(QAction::tr("Ban"), chatNicks);
 	connect(acBan, SIGNAL(triggered(bool)), this, SLOT(onBan()));
-	
+
 	chatNicks->insertAction(0, acInfo);
 }
 
@@ -81,9 +81,9 @@
 	QString formattedStr = Qt::escape(str);
 	if (formattedStr.startsWith("***"))
 		formattedStr = QString("<font color=grey>%1</font>").arg(formattedStr);
-	
+
 	chatStrings.append(formattedStr);
-	
+
 	chatText->setHtml(chatStrings.join("<br>"));
 
 	chatText->moveCursor(QTextCursor::End);
@@ -93,9 +93,9 @@
 {
 	if (chatStrings.size() > 250)
 		chatStrings.removeFirst();
-	
+
 	chatStrings.append("<hr>" + str + "<hr>");
-	
+
 	chatText->setHtml(chatStrings.join("<br>"));
 
 	chatText->moveCursor(QTextCursor::End);
@@ -163,7 +163,7 @@
 {
 	chatNicks->removeAction(acKick);
 	chatNicks->removeAction(acBan);
-	
+
 	if(b)
 	{
 		chatNicks->insertAction(0, acKick);