gui.cpp

changeset 11
323390a03294
parent 10
5b0579997e9b
child 14
6d9d8efae2f8
--- a/gui.cpp	Fri Mar 15 22:27:38 2013 +0200
+++ b/gui.cpp	Sat Mar 16 00:05:39 2013 +0200
@@ -374,9 +374,14 @@
 			QStringList (zText.chars()), 0);
 		item->setIcon (0, IconForObjectType (obj));
 		
+		// Color gibberish red
+		if (obj->getType() == OBJ_Gibberish) {
+			item->setBackgroundColor (0, "#AA0000");
+			item->setForeground (0, QColor ("#FFAA00"));
+		}
+		
 		qaItems.append (item);
 	}
 	
-	printf ("insert top level items\n");
 	qObjList->insertTopLevelItems (0, qaItems);
 }
\ No newline at end of file

mercurial