#include <kactioncollection.h>
#include <kcolorscheme.h>
#include <kdirlister.h>
-#include <kfileitemdelegate.h>
#include <kiconeffect.h>
#include <klocale.h>
#include <kio/deletejob.h>
#include "dolphinmodel.h"
#include "dolphincolumnview.h"
#include "dolphincontroller.h"
+#include "dolphinfileitemdelegate.h"
#include "dolphinsortfilterproxymodel.h"
#include "dolphindetailsview.h"
#include "dolphiniconsview.h"
void DolphinView::showHoverInformation(const KFileItem& item)
{
- if (hasSelection() || !m_active) {
- return;
+ if (!hasSelection()) {
+ emit requestItemInfo(item);
}
-
- emit requestItemInfo(item);
}
void DolphinView::clearHoverInformation()
m_controller->setItemView(view);
- m_fileItemDelegate = new KFileItemDelegate(view);
+ m_fileItemDelegate = new DolphinFileItemDelegate(view);
view->setItemDelegate(m_fileItemDelegate);
view->setModel(m_proxyModel);
int result = KMessageBox::questionYesNo(window(),
text,
i18nc("@title:window", "Paste into Folder"),
- KGuiItem(i18nc("@label", "Paste"), "dialog-ok"),
- KGuiItem(i18nc("@label", "Cancel"), "dialog-cancel"));
+ KGuiItem(i18nc("@action:button", "Paste"), "dialog-ok"),
+ KGuiItem(i18nc("@action:button", "Cancel"), "dialog-cancel"));
if (result == KMessageBox::No) {
return;
}