mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-13 05:41:17 +00:00
- Improved refresh icon
- Added tooltips on rss buttons - Fixed a compiling warning
This commit is contained in:
parent
65468d7826
commit
43bced2e04
BIN
src/Icons/exec.png
Normal file
BIN
src/Icons/exec.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.4 KiB |
Binary file not shown.
Before ![]() (image error) Size: 592 B |
@ -27,6 +27,7 @@
|
|||||||
<file>Icons/refresh.png</file>
|
<file>Icons/refresh.png</file>
|
||||||
<file>Icons/add_folder.png</file>
|
<file>Icons/add_folder.png</file>
|
||||||
<file>Icons/loading.png</file>
|
<file>Icons/loading.png</file>
|
||||||
|
<file>Icons/exec.png</file>
|
||||||
<file>Icons/flags/portugal.png</file>
|
<file>Icons/flags/portugal.png</file>
|
||||||
<file>Icons/flags/france.png</file>
|
<file>Icons/flags/france.png</file>
|
||||||
<file>Icons/flags/ukraine.png</file>
|
<file>Icons/flags/ukraine.png</file>
|
||||||
|
@ -156,7 +156,7 @@ class RssStream : public QObject{
|
|||||||
emit refreshFinished(url, NEWS);
|
emit refreshFinished(url, NEWS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayIcon(const QString&, const QString& file_path, int return_code, const QString&) {
|
void displayIcon(const QString&, const QString& file_path, int, const QString&) {
|
||||||
/*if(QFile::exists(iconPath) && iconPath!=":/Icons/rss.png") {
|
/*if(QFile::exists(iconPath) && iconPath!=":/Icons/rss.png") {
|
||||||
QFile::remove(iconPath);
|
QFile::remove(iconPath);
|
||||||
}
|
}
|
||||||
|
@ -90,6 +90,9 @@
|
|||||||
<height>22</height>
|
<height>22</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip" >
|
||||||
|
<string>Delete selected streams</string>
|
||||||
|
</property>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -109,6 +112,9 @@
|
|||||||
<height>22</height>
|
<height>22</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip" >
|
||||||
|
<string>Refresh RSS streams</string>
|
||||||
|
</property>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -128,6 +134,9 @@
|
|||||||
<height>22</height>
|
<height>22</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip" >
|
||||||
|
<string>Add a new RSS stream</string>
|
||||||
|
</property>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
|
@ -235,7 +235,7 @@
|
|||||||
setupUi(this);
|
setupUi(this);
|
||||||
addStream_button->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/add.png")));
|
addStream_button->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/add.png")));
|
||||||
delStream_button->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/remove.png")));
|
delStream_button->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/remove.png")));
|
||||||
refreshAll_button->setIcon(QIcon(QString::fromUtf8(":/Icons/refresh.png")));
|
refreshAll_button->setIcon(QIcon(QString::fromUtf8(":/Icons/exec.png")));
|
||||||
connect(listStreams, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(displayFinishedListMenu(const QPoint&)));
|
connect(listStreams, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(displayFinishedListMenu(const QPoint&)));
|
||||||
connect(actionDelete, SIGNAL(triggered()), this, SLOT(deleteStream()));
|
connect(actionDelete, SIGNAL(triggered()), this, SLOT(deleteStream()));
|
||||||
connect(actionRename, SIGNAL(triggered()), this, SLOT(renameStream()));
|
connect(actionRename, SIGNAL(triggered()), this, SLOT(renameStream()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user