From e21c61788ee34d34da87afe36f6d532171132c04 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Fri, 14 Dec 2012 01:20:23 +0100 Subject: [PATCH] Don't update buttons when output folder view is disabled. Also slightly changed "folder up" icon. --- res/icons/folder_up.png | Bin 1166 -> 3354 bytes src/Config.h | 2 +- src/Dialog_MainWindow.cpp | 10 ++++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/res/icons/folder_up.png b/res/icons/folder_up.png index 2499745c739d4ba782327b5fdf8c2c62d0d78dee..38276450110176394731c6c5a63fa3a301d6c057 100644 GIT binary patch delta 3352 zcmV+z4d?QX37Q&^BYz4vX+uL$b5ch_AW20-HZeIiHZ3wPF#rH~oSl|;R8!d&htIt? zy-<=6ij>f6Xi@@54ZTQ_E-Enz5K6$103tR-RB%L5k){YTDBysjLy@r}iiH7DvFijG zMAUI`6dRUFWUU$Bym{}n6@-c&M->OB3XhmR+Dq`EL(i`nPm?-^D=}y8Ow9d;$`sU z+$ZCWITF5%k$+$r7v~80xiY>cV}o=_hCs$|GJ-AR zc>v%@$zSl&FIdda6Uz_9&dgda5+tXH875p)hK-XGi{a1DP3Mcn%rFi&jU(bQ*qIqw z9N}^RX3zXt6nSkKvLZX!I5{{lZ7prSDAa#l{F{>Zc7K*$gn#ZCL?8IW_E&zH4FIsF zWwqJ*hiz#U0A1?=P`mwy&0sG8in6|S4t;SRx_n+z#NsSxE34exTuT9;Ybh`2@A{t( ze?wn<&r-hK@8w~5^OHD|bTLC-H*RKnrbNWZ&f;+S4CbGQ_#X%UbsiQG{3O1JFO)?@ z%ce{qOn;WOTgVfL1(`yIK=_}U_z%PWq}jQaiQ4!P(3V&Nr6C$XejWfQDiI(Fdt@un z?|lo#M+5oIi_w{wo%_#%{(V=tO#a9gB!7-$M?^BX5>d|Vn*3Spb<2KHgFhpfn(q_ zI0r6)%U}fD0a7pyo`5Ov3d}$dgoVfu6;g+EAVbI;vV~ZX8{`88LlICMln5n5LP!D? zK>Y--n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F^E#aH(^^exTzA z`+pxg1|0@Fha88xFFRfC8J;(M;)?r~(^tK(p1T%s?b68nk>Tr6*KgiPxFNmCyZPu= z`mN`;b8gSvS#uYCx8$DEy^8yq_ZxmR{jpu@AU!_nJv#7U!Gk+v+_5J=W&iYkyyzkM zVa0^bMDrutN5>|8Coex<_;~zD){~j1#eY95|6Kdbc>FRj6+1QlT=e|YubW?} zzu5oM?q%&G=Eaxf))AQ{iXyHyHn!Hv4Cr{@y=*4I@cUN*U=v9 zL(wT>sC~2rOnw-<$F!Ykkt_qgE?rzz8+v*elWO9uW3s-+sAC7us%?>8`q``50qB*%ASBcNP1ax0O0qN72kc3pOHe9e=OzSlt2qi*Ppns)Hf>cGAsX(f* zTum&v;g#u7vzYJz!s2O1-w)Y&zXq;JLQn=yb&4p7%u)twr#Cang=-jsH0DOK3NXy+ z?{gD_Ung{X3`s2TSduM*Aw!S)W7ioR3+{WaaNqk5YkC^z6 iD7CK|f3&d@zX9W#MiH$_-I0+100003pLRUyuBRLAQvU#dk^o-VG()Wq>6uAEE8UHl`-Ao`m%w@%tTm|jEv{~NP zubg_&f-S`{$dUpdlQ1?jg29d{D&u6-oeNJ2WO`J#??%uXGk*kHDP;ajYsZIA^fY6>q0v>h`;%D|?>e z#Z|DQ6OQH~=1I#{zzt{KTAmG>DK!iyEOD+-O_-$S5m2-;z$MQ!$%d`#oG`8ik3dg% ujddT~K?9D1fskt~F*`PBz~Oh-sQQmbdwA&4KzD7SXqjkgi$C6X?8+};#wqgv diff --git a/src/Config.h b/src/Config.h index f53f0237..5f549296 100644 --- a/src/Config.h +++ b/src/Config.h @@ -30,7 +30,7 @@ #define VER_LAMEXP_MINOR_LO 7 #define VER_LAMEXP_TYPE Alpha #define VER_LAMEXP_PATCH 6 -#define VER_LAMEXP_BUILD 1216 +#define VER_LAMEXP_BUILD 1217 /////////////////////////////////////////////////////////////////////////////// // Tool versions (minimum expected versions!) diff --git a/src/Dialog_MainWindow.cpp b/src/Dialog_MainWindow.cpp index 7e5a0e38..8ff42a1c 100644 --- a/src/Dialog_MainWindow.cpp +++ b/src/Dialog_MainWindow.cpp @@ -2566,11 +2566,13 @@ void MainWindow::outputFolderViewClicked(const QModelIndex &index) QString selectedDir = m_fileSystemModel->filePath(index); if(selectedDir.length() < 3) selectedDir.append(QDir::separator()); ui->outputFolderLabel->setText(QDir::toNativeSeparators(selectedDir)); + ui->outputFolderLabel->setToolTip(ui->outputFolderLabel->text()); m_settings->outputDir(selectedDir); } else { ui->outputFolderLabel->setText(QDir::toNativeSeparators(m_settings->outputDir())); + ui->outputFolderLabel->setToolTip(ui->outputFolderLabel->text()); } } @@ -3096,16 +3098,16 @@ void MainWindow::outputFolderMouseEventOccurred(QWidget *sender, QEvent *event) switch(event->type()) { case QEvent::Enter: - dynamic_cast(sender)->setFrameShadow(QFrame::Raised); + dynamic_cast(sender)->setFrameShadow(ui->outputFolderView->isEnabled() ? QFrame::Raised : QFrame::Plain); break; case QEvent::MouseButtonPress: - dynamic_cast(sender)->setFrameShadow(QFrame::Sunken); + dynamic_cast(sender)->setFrameShadow(ui->outputFolderView->isEnabled() ? QFrame::Sunken : QFrame::Plain); break; case QEvent::MouseButtonRelease: - dynamic_cast(sender)->setFrameShadow(QFrame::Raised); + dynamic_cast(sender)->setFrameShadow(ui->outputFolderView->isEnabled() ? QFrame::Raised : QFrame::Plain); break; case QEvent::Leave: - dynamic_cast(sender)->setFrameShadow(QFrame::Plain); + dynamic_cast(sender)->setFrameShadow(ui->outputFolderView->isEnabled() ? QFrame::Plain : QFrame::Plain); break; }