mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Merge latest msvc fixes from stable branch
This commit is contained in:
parent
8ec1621334
commit
4805690dbe
6 changed files with 67 additions and 55 deletions
|
@ -536,7 +536,7 @@ void PropertiesWidget::openDoubleClickedFile(QModelIndex index) {
|
|||
|
||||
void PropertiesWidget::displayFilesListMenu(const QPoint&){
|
||||
QMenu myFilesLlistMenu;
|
||||
const QModelIndexList &selectedRows = filesList->selectionModel()->selectedRows(0);
|
||||
QModelIndexList selectedRows = filesList->selectionModel()->selectedRows(0);
|
||||
QAction *actRename = 0;
|
||||
if(selectedRows.size() == 1) {
|
||||
actRename = myFilesLlistMenu.addAction(QIcon(QString::fromUtf8(":/Icons/oxygen/edit_clear.png")), tr("Rename..."));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue