mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix compilation and execution with msvc
This commit is contained in:
@@ -527,7 +527,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..."));
|
||||
|
||||
Reference in New Issue
Block a user