Hi,

I have made a qt application. It works fine in KDE. The problem I'm having is that in Gnome the application terminates each time the user uses an inputdialog or a colordialog.
Is there something I can do to prevent the application from terminating in Gnome.
As I said in KDE the application behaves correctly.
some examplecode where the program stops in Gnome:
Qt Code:
  1. void EditCSSDlg::changeTitleColor()
  2. {
  3. QColor changed = QColorDialog::getColor(Qt::white);
  4. QPixmap colpixmap(30,30);
  5. colpixmap.fill(changed);
  6. this->pushButtonColor->setPixmap(colpixmap);
  7. this->titlecolor = changed.name();
  8. }
To copy to clipboard, switch view to plain text mode 

the application never gets to the instantiation of the QPixmap.

regix