forked from len0rd/rockbox
Add icon to process dialog button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
217a6891f3
commit
b6da77a10a
2 changed files with 7 additions and 1 deletions
|
@ -55,10 +55,15 @@
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>&Abort</string>
|
<string>&Abort</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="icon" >
|
||||||
|
<iconset resource="rbutilqt.qrc" >:/icons/icons/process-stop.png</iconset>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources>
|
||||||
|
<include location="rbutilqt.qrc" />
|
||||||
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
|
@ -74,6 +74,7 @@ int ProgressLoggerGui::getProgressMax()
|
||||||
void ProgressLoggerGui::abort()
|
void ProgressLoggerGui::abort()
|
||||||
{
|
{
|
||||||
dp.buttonAbort->setText(tr("&Ok"));
|
dp.buttonAbort->setText(tr("&Ok"));
|
||||||
|
dp.buttonAbort->setIcon(QIcon(QString::fromUtf8(":/icons/icons/go-next.png")));
|
||||||
disconnect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort()));
|
disconnect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort()));
|
||||||
connect(dp.buttonAbort, SIGNAL(clicked()), downloadProgress, SLOT(close()));
|
connect(dp.buttonAbort, SIGNAL(clicked()), downloadProgress, SLOT(close()));
|
||||||
connect(dp.buttonAbort, SIGNAL(clicked()), this, SIGNAL(closed()));
|
connect(dp.buttonAbort, SIGNAL(clicked()), this, SIGNAL(closed()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue