r21164 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Apr 4 11:52:57 UTC 2016


Author: jghali
Date: Mon Apr  4 11:52:57 2016
New Revision: 21164

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21164
Log:
remove some unneeded code and fix AlignSelect::changeEvent()

Modified:
    trunk/Scribus/scribus/ui/alignselect.cpp

Modified: trunk/Scribus/scribus/ui/alignselect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21164&path=/trunk/Scribus/scribus/ui/alignselect.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/alignselect.cpp	(original)
+++ trunk/Scribus/scribus/ui/alignselect.cpp	Mon Apr  4 11:52:57 2016
@@ -97,19 +97,13 @@
 void AlignSelect::changeEvent(QEvent *e)
 {
 	if (e->type() == QEvent::LanguageChange)
-	{
 		languageChange();
-	}
+	else
+		QWidget::changeEvent(e);
 }
 
 void AlignSelect::languageChange()
 {
-	TextL->setToolTip("");
-	TextR->setToolTip("");
-	TextC->setToolTip("");
-	TextB->setToolTip("");
-	TextF->setToolTip("");
-
 	TextL->setToolTip( tr("Align Text Left"));
 	TextR->setToolTip( tr("Align Text Right"));
 	TextC->setToolTip( tr("Align Text Center"));




More information about the scribus-commit mailing list