From 75b0d84cabbfc2b775daaac4f95c991812dcdde0 Mon Sep 17 00:00:00 2001
From: Jens Bache-Wiig <jbache@trolltech.com>
Date: Thu, 22 Apr 2010 14:43:18 +0200
Subject: [PATCH] Prettify the Wizard

I created a nicer blue arrow by default and
use standard icons on X11 where possible.
Note that we still need an alternative solution
for mac.

Reviewed-by:thorbjorn
---
 src/libs/utils/images/arrow.png | Bin 0 -> 680 bytes
 src/libs/utils/utils.qrc        |   1 +
 src/libs/utils/wizard.cpp       |   4 ++--
 3 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 src/libs/utils/images/arrow.png

diff --git a/src/libs/utils/images/arrow.png b/src/libs/utils/images/arrow.png
new file mode 100644
index 0000000000000000000000000000000000000000..9134786c6877978675d045a6450acc192721a732
GIT binary patch
literal 680
zcmV;Z0$2TsP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00004b3#c}2nYxW
zd<bNS00009a7bBm000fw000fw0YWI7cmMzZ8FWQhbW?9;ba!ELWdL_~cP?peYja~^
zaAhuUa%Y?FJQ@H10wqaAK~y-6rISHOlu;1JfAj6z{oK{{Q!CNXG?geZg9tk0p*<=c
zf;tFwkfJ)&K`QF9m(W8NQI|Z#-mL6Uos0?(R%Ubv%M=tcNlC@r5=(d0U3WU{x`b>&
z_2ADNnBm8N=DiVB<$sR#r=$}IhMYh!>z@IeH|8GC&-J}_0>SdX28f7Mlx*Nm+o@gE
z6~*tIK(IbzUFm@q-C0$f5mH-Kj8(Faa(|R(FM74>`M@QhWxl61kp?t0hxFi~M#jSN
zjF7Q#oW*5j?-pfsc7*F4PagwE=X+YerCS&a#~GZAF*q4xXe!2sFL6G7jWap7iq9hy
z`Yi^gEy7vVT)S|jKF90ncLKrP046;Q0ow@KwqP3}%bmP!LpokqR^HARarI(T*_B%l
zUO9o_=`_H&1h-2NNy66TvII*6fE-)M_qj2~;Pcv`2{8bYa$s3tiC_t7&{_^4&npy2
zn6sBVre-IGn<DQ!UmAeQO$OU7xLx2$Iq?{9yM(z&0u)N~l<?<Kj@{_&jSP34kIfFx
z0Ja$%ore4Oe*26yd-mgamUz_Nr?($IX<vL3x~Z!xOTZ$q1dt7E1$L}gLvu*`KhA00
ziT3Zl+QyT>HlPg12RtM@#S0Vw_WDn@{czi8BpMx=8R|Z>Jl;0}M1UVa6o_kT6J046
z{&mXp*PXlT$|<Y?DuE)vm#P<4MOBl5h-BIc1LUS0Mu7!jMO72O7X1W3rMGPLn8{=S
O0000<MNUMnLSTX;J17+Z

literal 0
HcmV?d00001

diff --git a/src/libs/utils/utils.qrc b/src/libs/utils/utils.qrc
index d284ce40d5d..6642ce74749 100644
--- a/src/libs/utils/utils.qrc
+++ b/src/libs/utils/utils.qrc
@@ -1,5 +1,6 @@
 <RCC>
     <qresource prefix="/utils">
         <file>images/removesubmitfield.png</file>
+        <file>images/arrow.png</file>
     </qresource>
 </RCC>
diff --git a/src/libs/utils/wizard.cpp b/src/libs/utils/wizard.cpp
index 616ea57cece..0cfcb5c1c47 100644
--- a/src/libs/utils/wizard.cpp
+++ b/src/libs/utils/wizard.cpp
@@ -113,9 +113,9 @@ LinearProgressWidget::LinearProgressWidget(WizardProgress *progress, QWidget *pa
     :
     QWidget(parent),
     m_dotsItemWidget(0),
-    m_disableUpdatesCount(0),
-    m_indicatorPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/right-16.png"))
+    m_disableUpdatesCount(0)
 {
+    m_indicatorPixmap =  QIcon::fromTheme("go-next", QIcon(QLatin1String(":/utils/images/arrow.png"))).pixmap(16);
     m_wizardProgress = progress;
     m_mainLayout = new QVBoxLayout(this);
     m_itemWidgetLayout = new QVBoxLayout();
-- 
GitLab