Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kurlnavigator.cpp
Show First 20 Lines • Show All 512 Lines • ▼ Show 20 Line(s) | 455 | { | |||
---|---|---|---|---|---|
513 | } | 513 | } | ||
514 | } | 514 | } | ||
515 | 515 | | |||
516 | void KUrlNavigator::Private::slotPathBoxChanged(const QString &text) | 516 | void KUrlNavigator::Private::slotPathBoxChanged(const QString &text) | ||
517 | { | 517 | { | ||
518 | if (text.isEmpty()) { | 518 | if (text.isEmpty()) { | ||
519 | const QString protocol = q->locationUrl().scheme(); | 519 | const QString protocol = q->locationUrl().scheme(); | ||
520 | m_protocols->setProtocol(protocol); | 520 | m_protocols->setProtocol(protocol); | ||
521 | if (m_customProtocols.count() != 1) { | ||||
521 | m_protocols->show(); | 522 | m_protocols->show(); | ||
523 | } | ||||
522 | } else { | 524 | } else { | ||
523 | m_protocols->hide(); | 525 | m_protocols->hide(); | ||
524 | } | 526 | } | ||
525 | } | 527 | } | ||
526 | 528 | | |||
527 | void KUrlNavigator::Private::updateContent() | 529 | void KUrlNavigator::Private::updateContent() | ||
528 | { | 530 | { | ||
529 | const QUrl currentUrl = q->locationUrl(); | 531 | const QUrl currentUrl = q->locationUrl(); | ||
▲ Show 20 Lines • Show All 772 Lines • Show Last 20 Lines |