A wild guess - missing Q_OBJECT macro or showDiskInfoWidget not declared as a slot? Check if Qt gives you any warnings in the console.