r24553 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 7 11:42:20 UTC 2021


Author: jghali
Date: Sun Mar  7 11:42:20 2021
New Revision: 24553

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24553
Log:
Code style fixes

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

Modified: trunk/Scribus/scribus/ui/about.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24553&path=/trunk/Scribus/scribus/ui/about.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/about.cpp	(original)
+++ trunk/Scribus/scribus/ui/about.cpp	Sun Mar  7 11:42:20 2021
@@ -26,8 +26,6 @@
 #include <QToolTip>
 #include <QWidget>
 
-
-
 #include "about.h"
 #include "api/api_application.h"
 #include "commonstrings.h"
@@ -40,7 +38,6 @@
 #include "iconmanager.h"
 #include "upgradechecker.h"
 #include "langmgr.h"
-
 
 /*
 * The content for the About dialog is mostly built from the files in
@@ -252,15 +249,12 @@
 	resize(minimumSizeHint());
 }
 
-
 void About::showEvent (QShowEvent * event)
 {
 	if (m_mode == About::CheckUpdates && m_firstShow)
 		tabWidget2->setCurrentIndex(4);
 	QDialog::showEvent(event);
 }
-
-
 
 QString About::trAuthorTitle(const QString& title)
 {
@@ -302,6 +296,7 @@
 	}
 	return result;
 }
+
 QString About::trTranslationTitle(const QString& title)
 {
 	QString result;
@@ -316,7 +311,6 @@
 	}
 	return result;
 }
-
 
 QString About::trLinksTitle(const QString& title)
 {
@@ -340,7 +334,6 @@
 	}
 	return result;
 }
-
 
 /*!
 * parse a text file and return an author list in an html table:
@@ -643,9 +636,7 @@
 		{
 			QStringList field = fileName.split("/");
 			if (!field.isEmpty())
-			{
 				file = field.takeLast();
-			}
 		}
 		result = tr("Unable to open %1 file. Please check your install directory or the Scribus website for %1 information.").arg(file);
 		result = "";




More information about the scribus-commit mailing list