1
0
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:
Christophe Dumez 2007-04-15 14:53:38 +00:00
parent 65468d7826
commit 43bced2e04
6 changed files with 23 additions and 13 deletions

BIN
src/Icons/exec.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

View File

@ -27,6 +27,7 @@
<file>Icons/refresh.png</file>
<file>Icons/add_folder.png</file>
<file>Icons/loading.png</file>
<file>Icons/exec.png</file>
<file>Icons/flags/portugal.png</file>
<file>Icons/flags/france.png</file>
<file>Icons/flags/ukraine.png</file>

View File

@ -156,7 +156,7 @@ class RssStream : public QObject{
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") {
QFile::remove(iconPath);
}

View File

@ -90,6 +90,9 @@
<height>22</height>
</size>
</property>
<property name="toolTip" >
<string>Delete selected streams</string>
</property>
<property name="text" >
<string/>
</property>
@ -109,6 +112,9 @@
<height>22</height>
</size>
</property>
<property name="toolTip" >
<string>Refresh RSS streams</string>
</property>
<property name="text" >
<string/>
</property>
@ -128,6 +134,9 @@
<height>22</height>
</size>
</property>
<property name="toolTip" >
<string>Add a new RSS stream</string>
</property>
<property name="text" >
<string/>
</property>

View File

@ -235,7 +235,7 @@
setupUi(this);
addStream_button->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/add.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(actionDelete, SIGNAL(triggered()), this, SLOT(deleteStream()));
connect(actionRename, SIGNAL(triggered()), this, SLOT(renameStream()));