--- kdelibs-4.4.1/kfile/kfileplacesview.cpp~ 2010-02-27 18:56:43.000000000 +0300 +++ kdelibs-4.4.1/kfile/kfileplacesview.cpp 2010-03-26 15:23:45.000000000 +0300 @@ -614,7 +614,7 @@ void KFilePlacesView::contextMenuEvent(Q return; } - QAction *result = menu.exec(event->globalPos()); + QAction *result = menu.exec(QCursor::pos()); if (emptyTrash != 0 && result == emptyTrash) { const QString text = i18nc("@info", "Do you really want to empty the Trash? All items will be deleted."); @@ -618,7 +618,7 @@ void KFilePlacesView::contextMenuEvent(Q if (emptyTrash != 0 && result == emptyTrash) { const QString text = i18nc("@info", "Do you really want to empty the Trash? All items will be deleted."); - const bool del = KMessageBox::warningContinueCancel(window(), + const bool del = KMessageBox::warningContinueCancel(0, text, QString(), KGuiItem(i18nc("@action:button", "Empty Trash"), @@ -641,7 +641,7 @@ void KFilePlacesView::contextMenuEvent(Q bool appLocal = !bookmark.metaDataItem("OnlyInApp").isEmpty(); if (KFilePlaceEditDialog::getInformation(true, url, label, - iconName, appLocal, 64, this)) + iconName, appLocal, 64)) { QString appName; if (appLocal) appName = KGlobal::mainComponent().componentName(); @@ -675,7 +675,7 @@ void KFilePlacesView::contextMenuEvent(Q QString iconName = "folder"; bool appLocal = true; if (KFilePlaceEditDialog::getInformation(true, url, label, - iconName, appLocal, 64, this)) + iconName, appLocal, 64)) { QString appName; if (appLocal) appName = KGlobal::mainComponent().componentName();