r19805 by craig - Fix linux compilation

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 8 12:26:51 UTC 2015


Author: craig
Date: Sun Feb  8 12:26:51 2015
New Revision: 19805

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19805
Log:
Fix linux compilation

Modified:
    trunk/Scribus/scribus/scpaths.cpp

Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19805&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp (original)
+++ trunk/Scribus/scribus/scpaths.cpp Sun Feb  8 12:26:51 2015
@@ -352,18 +352,18 @@
 		QStringList dictDirList(d.entryList(dictDirFilters, QDir::Dirs, QDir::Name));
 		QString dir;
 		foreach (dir, dictDirList)
-			spellDirs.append(progFiles+windowsLOPath + "/" + dir + "/");
+			hyphDirs.append(progFiles+windowsLOPath + "/" + dir + "/");
 	}
 #elif defined(Q_OS_LINUX)
 	d.setPath(linuxHunspellPath);
 	if (d.exists())
-		spellDirs.append(linuxHunspellPath);
+		hyphDirs.append(linuxHunspellPath);
 	d.setPath(linuxMyspellPath);
 	if (d.exists())
-		spellDirs.append(linuxMyspellPath);
+		hyphDirs.append(linuxMyspellPath);
 	d.setPath(linuxLocalPath);
 	if (d.exists())
-		spellDirs.append(linuxLocalPath);
+		hyphDirs.append(linuxLocalPath);
 #endif
 	return hyphDirs;
 }




More information about the scribus-commit mailing list