So what am I trying to do?
I have QListView that loads string list and shows it on the screen. Following is extract from the code:

Qt Code:
  1. list << "AAA" << "CCC" << "BBB";
  2. ui->listView->setModel( new QStringListModel(list) );
To copy to clipboard, switch view to plain text mode 

I'm using stylesheets to modify its appearance. In my case I just want color of text to change when item is selected. Following is stylesheet that I am using:

QListView::item
{
color: black;
background-color: transparent;
border: 0px;
}
QListView::item:selected
{
color: red;
background-color: transparent;
border: 0px;
}

It works perfect in Qt Simulator (Windows).Behavior is as expected: color changes from black to red, both background colors are transparent, and there is no border.

Now, the problem appears when I test it on Symbian Device (I'm testing on N97 mini). While color changes from black to red and background color remains transparent, border for some reason still appears. It is of white (whitish) color and it seems like 1 pixel wide.
If I do add border (1px solid red), border appears around it. What do I need to do to remove this "white" border around QListView item?

Thanks