From d6a44b289027db999e50a2b346327e6650a4f43c Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 1 Feb 2018 01:33:50 +0100 Subject: Modernize OriginDialog Use type safe connect syntax and remove one Q_FOREACH makro. Make the reject button a non-member, but keep the OK button. I thought about gettring rid of the latter, too, but deactivating OK when no match is the most sensible way to go... --- origindialog.h | 1 - 1 file changed, 1 deletion(-) (limited to 'origindialog.h') diff --git a/origindialog.h b/origindialog.h index dd9cb3f..2380af6 100644 --- a/origindialog.h +++ b/origindialog.h @@ -35,7 +35,6 @@ class OriginDialog : public QDialog { QLineEdit *mDstMd5; QVector mLineEdits; QPushButton *mOk; - QPushButton *mCancel; qint64 mSeconds; qint64 mSize; qint64 mBitrate; -- cgit v1.2.3-70-g09d2