summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-19 05:13:06 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-19 05:13:06 (GMT)
commit8f1d9f8d4108943d0c3403fab373685ab3e602ba (patch)
tree3ad2c6b78a4078e62f82e53cbc0a9f53f05a367c
parent7f542bb3447a0c6f1ebe8d989dc08f56ab3efe47 (diff)
Fix warning
-rw-r--r--src/ksieveui/vacation/autotests/vacationeditwidgettest.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/ksieveui/vacation/autotests/vacationeditwidgettest.cpp b/src/ksieveui/vacation/autotests/vacationeditwidgettest.cpp
index 7d3b36e..b49b141 100644
--- a/src/ksieveui/vacation/autotests/vacationeditwidgettest.cpp
+++ b/src/ksieveui/vacation/autotests/vacationeditwidgettest.cpp
@@ -147,11 +147,11 @@ void VacationEditWidgetTest::shouldHaveDefaultValue()
void VacationEditWidgetTest::shouldGetValues()
{
KSieveUi::VacationEditWidget w;
- QCheckBox *mActiveCheck = w.findChild<QCheckBox *>(QStringLiteral("mActiveCheck"));
-
- KPIMTextEdit::PlainTextEditorWidget *mTextEdit = w.findChild<KPIMTextEdit::PlainTextEditorWidget *>(QStringLiteral("mTextEdit"));
- QLineEdit *mSubject = w.findChild<QLineEdit *>(QStringLiteral("mSubject"));
+ //QCheckBox *mActiveCheck = w.findChild<QCheckBox *>(QStringLiteral("mActiveCheck"));
+ //KPIMTextEdit::PlainTextEditorWidget *mTextEdit = w.findChild<KPIMTextEdit::PlainTextEditorWidget *>(QStringLiteral("mTextEdit"));
+ //QLineEdit *mSubject = w.findChild<QLineEdit *>(QStringLiteral("mSubject"));
+#if 0
KDateComboBox *mStartDate = w.findChild<KDateComboBox *>(QStringLiteral("mStartDate"));
QCheckBox *mStartTimeActive = w.findChild<QCheckBox *>(QStringLiteral("mStartTimeActive"));
@@ -166,15 +166,16 @@ void VacationEditWidgetTest::shouldGetValues()
QSpinBox *mIntervalSpin = w.findChild<QSpinBox *>(QStringLiteral("mIntervalSpin"));
QLineEdit *mMailAliasesEdit = w.findChild<QLineEdit *>(QStringLiteral("mMailAliasesEdit"));
+#endif
- QComboBox *mMailAction = w.findChild<QComboBox *>(QStringLiteral("mMailAction"));
- QLineEdit *mMailActionRecipient = w.findChild<QLineEdit *>(QStringLiteral("mMailActionRecipient"));
+ //QComboBox *mMailAction = w.findChild<QComboBox *>(QStringLiteral("mMailAction"));
+ //QLineEdit *mMailActionRecipient = w.findChild<QLineEdit *>(QStringLiteral("mMailActionRecipient"));
- QCheckBox *mSpamCheck = w.findChild<QCheckBox *>(QStringLiteral("mSpamCheck"));
- QCheckBox *mDomainCheck = w.findChild<QCheckBox *>(QStringLiteral("mDomainCheck"));
+ //QCheckBox *mSpamCheck = w.findChild<QCheckBox *>(QStringLiteral("mSpamCheck"));
+ //QCheckBox *mDomainCheck = w.findChild<QCheckBox *>(QStringLiteral("mDomainCheck"));
- QLineEdit *mDomainEdit = w.findChild<QLineEdit *>(QStringLiteral("mDomainEdit"));
+ //QLineEdit *mDomainEdit = w.findChild<QLineEdit *>(QStringLiteral("mDomainEdit"));
bool activateVacation = true;
w.setActivateVacation(activateVacation);