Changeset View
Changeset View
Standalone View
Standalone View
src/views/dolphinview.cpp
Show First 20 Lines • Show All 834 Lines • ▼ Show 20 Line(s) | |||||
835 | void DolphinView::slotItemsActivated(const KItemSet& indexes) | 835 | void DolphinView::slotItemsActivated(const KItemSet& indexes) | ||
836 | { | 836 | { | ||
837 | Q_ASSERT(indexes.count() >= 2); | 837 | Q_ASSERT(indexes.count() >= 2); | ||
838 | 838 | | |||
839 | abortTwoClicksRenaming(); | 839 | abortTwoClicksRenaming(); | ||
840 | 840 | | |||
841 | if (indexes.count() > 5) { | 841 | if (indexes.count() > 5) { | ||
842 | QString question = i18np("Are you sure you want to open 1 item?", "Are you sure you want to open %1 items?", indexes.count()); | 842 | QString question = i18np("Are you sure you want to open 1 item?", "Are you sure you want to open %1 items?", indexes.count()); | ||
843 | const int answer = KMessageBox::warningYesNo(this, question); | 843 | const int answer = KMessageBox::questionYesNo(this, question); | ||
844 | | ||||
844 | if (answer != KMessageBox::Yes) { | 845 | if (answer != KMessageBox::Yes) { | ||
845 | return; | 846 | return; | ||
846 | } | 847 | } | ||
847 | } | 848 | } | ||
848 | 849 | | |||
849 | KFileItemList items; | 850 | KFileItemList items; | ||
850 | items.reserve(indexes.count()); | 851 | items.reserve(indexes.count()); | ||
851 | 852 | | |||
▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines |