I don't know why it's virtual, I must have used copy/paste from other existing code and didn't notice. Anyhow it made no difference.
The object is created here:
void MainWindow::openRecord(int anID, int aType)
{
if (aType < 4)
{
TransactionDialog *transactionDialog = new TransactionDialog(this, anID, aType);
transactionDialog->show();
}
}
void MainWindow::openRecord(int anID, int aType)
{
if (aType < 4)
{
TransactionDialog *transactionDialog = new TransactionDialog(this, anID, aType);
transactionDialog->show();
}
}
To copy to clipboard, switch view to plain text mode
Bookmarks