r20275 by jghali - fix stack overflow

scribus-commit scribus-commit at lists.scribus.net
Sat Jul 25 20:39:53 UTC 2015


Author: jghali
Date: Sat Jul 25 20:39:53 2015
New Revision: 20275

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20275
Log:
fix stack overflow

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

Modified: trunk/Scribus/scribus/ui/sctextbrowser.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20275&path=/trunk/Scribus/scribus/ui/sctextbrowser.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/sctextbrowser.cpp (original)
+++ trunk/Scribus/scribus/ui/sctextbrowser.cpp Sat Jul 25 20:39:53 2015
@@ -28,7 +28,7 @@
 
 void ScTextBrowser::find(const QString& txt, const int& options)
 {
-	find(txt, QTextDocument::FindFlag(options));
+	QTextBrowser::find(txt, QTextDocument::FindFlag(options));
 }
 
 void ScTextBrowser::home()
@@ -39,7 +39,7 @@
 
 void ScTextBrowser::catchHome(QUrl url)
 {
-	if(homeUrl.isEmpty())
+	if (homeUrl.isEmpty())
 	{
 		homeUrl = url;
 		disconnect(this, SIGNAL(sourceChanged(QUrl)), this, SLOT(catchHome(QUrl)));




More information about the scribus-commit mailing list