I'm having a small problem with QComboBox and style sheets. In the style sheet I try to change the color of the text and arrow when QComboBox is expanded. When collapsed both text and arrow is red, but when expanded only the color of the arrow changes to yellow.

Qt Code:
  1. color: red;
  2. }
  3.  
  4. color: yellow;
  5. }
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. MainWindow::MainWindow(QWidget *parent)
  2. : QMainWindow(parent)
  3. {
  4. QFile file(":/qss/style.qss");
  5. file.open(QFile::ReadOnly);
  6. setStyleSheet(file.readAll());
  7.  
  8. QComboBox *comboBox = new QComboBox(this);
  9. comboBox->setEditable(false);
  10. comboBox->addItem("one");
  11. comboBox->addItem("two");
  12. comboBox->addItem("three");
  13. }
To copy to clipboard, switch view to plain text mode 

Any ideas what I'm doing wrong here?