Changeset View
Changeset View
Standalone View
Standalone View
tests/model/window.cpp
Show First 20 Lines • Show All 352 Lines • ▼ Show 20 Line(s) | 328 | setQuery( | |||
---|---|---|---|---|---|
353 | 353 | | |||
354 | // And URL filters | 354 | // And URL filters | ||
355 | Url(ui->textUrl->text().split(QLatin1Char(','), QString::SkipEmptyParts)) | | 355 | Url(ui->textUrl->text().split(QLatin1Char(','), QString::SkipEmptyParts)) | | ||
356 | 356 | | |||
357 | // And date filter | 357 | // And date filter | ||
358 | ( | 358 | ( | ||
359 | textDate == QStringLiteral("today") ? Date::today() : | 359 | textDate == QStringLiteral("today") ? Date::today() : | ||
360 | textDate == QStringLiteral("yesterday") ? Date::yesterday() : | 360 | textDate == QStringLiteral("yesterday") ? Date::yesterday() : | ||
361 | Date(QDate::fromString(textDate, Qt::ISODate)) | 361 | Date::fromString(textDate) | ||
362 | ) | | 362 | ) | | ||
363 | 363 | | |||
364 | // And how many items | 364 | // And how many items | ||
365 | Limit(ui->spinLimitCount->value()) | 365 | Limit(ui->spinLimitCount->value()) | ||
366 | ); | 366 | ); | ||
367 | } | 367 | } | ||
368 | 368 | |