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:
void EditCSSDlg::changeTitleColor()
{
colpixmap.fill(changed);
this->pushButtonColor->setPixmap(colpixmap);
this->titlecolor = changed.name();
}
void EditCSSDlg::changeTitleColor()
{
QColor changed = QColorDialog::getColor(Qt::white);
QPixmap colpixmap(30,30);
colpixmap.fill(changed);
this->pushButtonColor->setPixmap(colpixmap);
this->titlecolor = changed.name();
}
To copy to clipboard, switch view to plain text mode
the application never gets to the instantiation of the QPixmap.
regix
Bookmarks