Changeset View
Changeset View
Standalone View
Standalone View
Browser/OverviewPage.cpp
| Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Line(s) | 251 | { | |||
|---|---|---|---|---|---|
| 272 | 272 | | |||
| 273 | delete dialog; | 273 | delete dialog; | ||
| 274 | 274 | | |||
| 275 | if ( DB::ImageDB::instance()->count( info ).total() == 0 ) { | 275 | if ( DB::ImageDB::instance()->count( info ).total() == 0 ) { | ||
| 276 | KMessageBox::information( browser(), i18n( "Search did not match any images or videos." ), i18n("Empty Search Result") ); | 276 | KMessageBox::information( browser(), i18n( "Search did not match any images or videos." ), i18n("Empty Search Result") ); | ||
| 277 | return nullptr; | 277 | return nullptr; | ||
| 278 | } | 278 | } | ||
| 279 | 279 | | |||
| 280 | return new OverviewPage( Breadcrumb( i18n("EXIF Search")), info, browser() ); | 280 | return new OverviewPage( Breadcrumb( i18n("Exif Search")), info, browser() ); | ||
| 281 | } | 281 | } | ||
| 282 | 282 | | |||
| 283 | Browser::BrowserPage* Browser::OverviewPage::activateSearchAction() | 283 | Browser::BrowserPage* Browser::OverviewPage::activateSearchAction() | ||
| 284 | { | 284 | { | ||
| 285 | if ( !s_config ) | 285 | if ( !s_config ) | ||
| 286 | s_config = new AnnotationDialog::Dialog( browser() ); | 286 | s_config = new AnnotationDialog::Dialog( browser() ); | ||
| 287 | 287 | | |||
| 288 | Utilities::ShowBusyCursor undoTheBusyWhileShowingTheDialog( Qt::ArrowCursor ); | 288 | Utilities::ShowBusyCursor undoTheBusyWhileShowingTheDialog( Qt::ArrowCursor ); | ||
| ▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines | |||||