r19695 by jghali - fix inconsistent line endings
scribus-commit
scribus-commit at lists.scribus.net
Sat Dec 27 21:14:53 UTC 2014
Author: jghali
Date: Sat Dec 27 21:14:53 2014
New Revision: 19695
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19695
Log:
fix inconsistent line endings
Modified:
trunk/Scribus/scribus/ui/transparencypalette.cpp
Modified: trunk/Scribus/scribus/ui/transparencypalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19695&path=/trunk/Scribus/scribus/ui/transparencypalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/transparencypalette.cpp (original)
+++ trunk/Scribus/scribus/ui/transparencypalette.cpp Sat Dec 27 21:14:53 2014
@@ -64,17 +64,17 @@
connect(usePatternInverted, SIGNAL(clicked()), this, SLOT(switchPatternMode()));
}
-void Tpalette::connectSignals()
-{
+void Tpalette::connectSignals()
+{
connect(gradEdit, SIGNAL(gradientChanged()), this, SIGNAL(gradientChanged()));
connect(namedGradient, SIGNAL(activated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
connect(tabWidget, SIGNAL(currentChanged(int)), this, SLOT(slotGrad(int)));
connect(gradientType, SIGNAL(activated(int)), this, SLOT(slotGradType(int)));
connect(transpCalcGradient, SIGNAL(clicked()), this, SLOT(switchGradientMode()));
connect(transpCalcPattern, SIGNAL(clicked()), this, SLOT(switchPatternMode()));
- connect(usePatternInverted, SIGNAL(clicked()), this, SLOT(switchPatternMode()));
-}
-
+ connect(usePatternInverted, SIGNAL(clicked()), this, SLOT(switchPatternMode()));
+}
+
void Tpalette::disconnectSignals()
{
disconnect(gradEdit, SIGNAL(gradientChanged()), this, SIGNAL(gradientChanged()));
@@ -91,7 +91,7 @@
currentItem = item;
disconnectSignals();
- if (!currentItem || !currentDoc)
+ if (!currentItem || !currentDoc)
return;
setActTrans(currentItem->fillTransparency(), currentItem->lineTransparency());
@@ -187,14 +187,14 @@
if (!currentDoc)
return;
- if (currentItem)
+ if (currentItem)
disconnectSignals();
this->setColors(currentDoc->PageColors);
this->setPatterns(¤tDoc->docPatterns);
this->setGradients(¤tDoc->docGradients);
- if (currentItem)
+ if (currentItem)
setCurrentItem(currentItem);
}
More information about the scribus-commit
mailing list