Use a lambda instead: QTimer::singleShot(snoozeTimeoutValue*1000, [this, selectedData](){ on_snoozeTimeout(selectedData); });.
確定! 回上一頁