diff options
Diffstat (limited to 'rbutil/rbutilqt/progressloggergui.cpp')
-rw-r--r-- | rbutil/rbutilqt/progressloggergui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rbutil/rbutilqt/progressloggergui.cpp b/rbutil/rbutilqt/progressloggergui.cpp index 0d3fcb4187..b66ec89a25 100644 --- a/rbutil/rbutilqt/progressloggergui.cpp +++ b/rbutil/rbutilqt/progressloggergui.cpp | |||
@@ -42,16 +42,16 @@ void ProgressLoggerGui::addItem(const QString &text, int flag) | |||
42 | case LOGNOICON: | 42 | case LOGNOICON: |
43 | break; | 43 | break; |
44 | case LOGOK: | 44 | case LOGOK: |
45 | item->setIcon(QIcon(":/icons/icons/go-next.png")); | 45 | item->setIcon(QIcon(":/icons/go-next.png")); |
46 | break; | 46 | break; |
47 | case LOGINFO: | 47 | case LOGINFO: |
48 | item->setIcon(QIcon(":/icons/icons/dialog-information.png")); | 48 | item->setIcon(QIcon(":/icons/dialog-information.png")); |
49 | break; | 49 | break; |
50 | case LOGWARNING: | 50 | case LOGWARNING: |
51 | item->setIcon(QIcon(":/icons/icons/dialog-warning.png")); | 51 | item->setIcon(QIcon(":/icons/dialog-warning.png")); |
52 | break; | 52 | break; |
53 | case LOGERROR: | 53 | case LOGERROR: |
54 | item->setIcon(QIcon(":/icons/icons/dialog-error.png")); | 54 | item->setIcon(QIcon(":/icons/dialog-error.png")); |
55 | break; | 55 | break; |
56 | } | 56 | } |
57 | 57 | ||
@@ -77,7 +77,7 @@ int ProgressLoggerGui::getProgressMax() | |||
77 | void ProgressLoggerGui::abort() | 77 | void ProgressLoggerGui::abort() |
78 | { | 78 | { |
79 | dp.buttonAbort->setText(tr("&Ok")); | 79 | dp.buttonAbort->setText(tr("&Ok")); |
80 | dp.buttonAbort->setIcon(QIcon(QString::fromUtf8(":/icons/icons/go-next.png"))); | 80 | dp.buttonAbort->setIcon(QIcon(QString::fromUtf8(":/icons/go-next.png"))); |
81 | disconnect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort())); | 81 | disconnect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort())); |
82 | connect(dp.buttonAbort, SIGNAL(clicked()), downloadProgress, SLOT(close())); | 82 | connect(dp.buttonAbort, SIGNAL(clicked()), downloadProgress, SLOT(close())); |
83 | connect(dp.buttonAbort, SIGNAL(clicked()), this, SIGNAL(closed())); | 83 | connect(dp.buttonAbort, SIGNAL(clicked()), this, SIGNAL(closed())); |
@@ -87,7 +87,7 @@ void ProgressLoggerGui::abort() | |||
87 | void ProgressLoggerGui::undoAbort() | 87 | void ProgressLoggerGui::undoAbort() |
88 | { | 88 | { |
89 | dp.buttonAbort->setText(tr("&Abort")); | 89 | dp.buttonAbort->setText(tr("&Abort")); |
90 | dp.buttonAbort->setIcon(QIcon(QString::fromUtf8(":/icons/icons/process-stop.png"))); | 90 | dp.buttonAbort->setIcon(QIcon(QString::fromUtf8(":/icons/process-stop.png"))); |
91 | connect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort())); | 91 | connect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort())); |
92 | } | 92 | } |
93 | 93 | ||