Add ctrl+c, ctrl+v, ctrl+x support for desktop FolderView

Review Request #126238 - Created Dec. 4, 2015 and submitted

Information
Leslie Zhai
plasma-desktop
master
344969
Reviewers
hein

press CTRL+V fails to work for plasmashell desktop, so I simply added

else if (event.modifiers && Qt.ControlModifier) {            
                        if (event.key == Qt.Key_V) {                               
                            dir.paste();                                           
                        } else if (event.key == Qt.Key_C) {                        
                            dir.copy();                                            
                        } else if (event.key == Qt.Key_X) {                        
                            dir.cut();                                             
                        }                                                          
                    }

into containments/desktop/package/contents/ui/FolderView.qml for Keys.onPressed

and make paste, copy and cut Q_INVOKABLE in containments/desktop/plugins/folder/foldermodel.h


  

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Kai Uwe Broulik
Leslie Zhai
Eike Hein
Leslie Zhai
Leslie Zhai
Eike Hein
Leslie Zhai
Leslie Zhai
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit b7589b259a941c28b972dc816110dfc907ff0c85 by Leslie Zhai to branch master.
Loading...