mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
plasma: use system-run icon for the widget that opens the job destination in notifications applet
because the destination may or may not be a directory Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
48bbd4b221
commit
ac98f37023
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
#include <KToolInvocation>
|
||||
#include <KIconLoader>
|
||||
#include <KIcon>
|
||||
#include <KMimeType>
|
||||
#include <KUrl>
|
||||
#include <KDebug>
|
||||
|
||||
// NOTE: this is for generic jobs such as trash jobs which provide next to no info
|
||||
|
@ -184,7 +184,7 @@ void JobFrame::slotJobUpdated(const QString &name, const QVariantMap &data)
|
|||
m_iconwidget1->setVisible(true);
|
||||
if (!desturl.isEmpty()) {
|
||||
m_iconwidget1->setProperty("_k_desturl", desturl);
|
||||
m_iconwidget1->setIcon(KIcon("system-file-manager"));
|
||||
m_iconwidget1->setIcon(KIcon("system-run"));
|
||||
m_iconwidget1->setToolTip(i18n("Click to open the destination of the job."));
|
||||
} else {
|
||||
m_iconwidget1->setAcceptHoverEvents(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue