mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Initial support for system Icons (incomplete but good progress)
This commit is contained in:
parent
e72d9de34a
commit
052825e5c4
82 changed files with 299 additions and 433 deletions
|
@ -61,6 +61,12 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra
|
|||
QWidget(parent), transferList(transferList), main_window(main_window) {
|
||||
|
||||
setupUi(this);
|
||||
// Icons
|
||||
deleteWS_button->setIcon(misc::getIcon("list-remove"));
|
||||
addWS_button->setIcon(misc::getIcon("list-add"));
|
||||
trackerUpButton->setIcon(misc::getIcon("go-up"));
|
||||
trackerDownButton->setIcon(misc::getIcon("go-down"));
|
||||
|
||||
state = VISIBLE;
|
||||
setEnabled(false);
|
||||
|
||||
|
@ -486,7 +492,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint&){
|
|||
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..."));
|
||||
actRename = myFilesLlistMenu.addAction(misc::getIcon("edit-rename"), tr("Rename..."));
|
||||
myFilesLlistMenu.addSeparator();
|
||||
}
|
||||
QMenu subMenu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue