Fixed issue with undefined slot. moc didn't catch this.