Changeset View
Changeset View
Standalone View
Standalone View
src/dolphinviewcontainer.cpp
Show First 20 Lines • Show All 355 Lines • ▼ Show 20 Line(s) | 354 | { | |||
---|---|---|---|---|---|
356 | 356 | | |||
357 | if (isSearchModeEnabled()) { | 357 | if (isSearchModeEnabled()) { | ||
358 | text = m_searchBox->searchPath().fileName() + QLatin1String(": ") + m_searchBox->text(); | 358 | text = m_searchBox->searchPath().fileName() + QLatin1String(": ") + m_searchBox->text(); | ||
359 | } else { | 359 | } else { | ||
360 | text = url().fileName(); | 360 | text = url().fileName(); | ||
361 | if (text.isEmpty()) { | 361 | if (text.isEmpty()) { | ||
362 | text = url().host(); | 362 | text = url().host(); | ||
363 | } | 363 | } | ||
364 | if (text.isEmpty()) { | ||||
365 | text = url().scheme(); | ||||
366 | } | ||||
364 | } | 367 | } | ||
365 | 368 | | |||
366 | return text; | 369 | return text; | ||
367 | } | 370 | } | ||
368 | 371 | | |||
369 | void DolphinViewContainer::reload() | 372 | void DolphinViewContainer::reload() | ||
370 | { | 373 | { | ||
371 | view()->reload(); | 374 | view()->reload(); | ||
▲ Show 20 Lines • Show All 327 Lines • Show Last 20 Lines |