Changeset View
Changeset View
Standalone View
Standalone View
src/views/dolphinview.cpp
Show First 20 Lines • Show All 1194 Lines • ▼ Show 20 Line(s) | |||||
1195 | } | 1195 | } | ||
1196 | 1196 | | |||
1197 | void DolphinView::slotPasteJobResult(KJob *job) | 1197 | void DolphinView::slotPasteJobResult(KJob *job) | ||
1198 | { | 1198 | { | ||
1199 | if (job->error()) { | 1199 | if (job->error()) { | ||
1200 | emit errorMessage(job->errorString()); | 1200 | emit errorMessage(job->errorString()); | ||
1201 | } | 1201 | } | ||
1202 | if (!m_selectedUrls.isEmpty()) { | 1202 | if (!m_selectedUrls.isEmpty()) { | ||
1203 | m_selectedUrls << KDirModel::simplifiedUrlList(m_selectedUrls); | 1203 | m_selectedUrls = KDirModel::simplifiedUrlList(m_selectedUrls); | ||
1204 | } | 1204 | } | ||
1205 | } | 1205 | } | ||
1206 | 1206 | | |||
1207 | void DolphinView::slotSelectionChanged(const KItemSet& current, const KItemSet& previous) | 1207 | void DolphinView::slotSelectionChanged(const KItemSet& current, const KItemSet& previous) | ||
1208 | { | 1208 | { | ||
1209 | const int currentCount = current.count(); | 1209 | const int currentCount = current.count(); | ||
1210 | const int previousCount = previous.count(); | 1210 | const int previousCount = previous.count(); | ||
1211 | const bool selectionStateChanged = (currentCount == 0 && previousCount > 0) || | 1211 | const bool selectionStateChanged = (currentCount == 0 && previousCount > 0) || | ||
▲ Show 20 Lines • Show All 710 Lines • Show Last 20 Lines |