94c5d47dac
There were two boolean logic issues found by gcc5 when compiling massxpert. One was comparing boolean output to a negative integer (is always false) and the other applied the "not" operator in the wrong place. Fix provided per request by maintainer. PR: 197823
11 lines
434 B
C++
11 lines
434 B
C++
--- plugins-src/seqToolsPlugin/seqToolsPluginDlg.cpp.orig 2012-12-25 21:02:43 UTC
|
|
+++ plugins-src/seqToolsPlugin/seqToolsPluginDlg.cpp
|
|
@@ -215,7 +215,7 @@ SeqToolsPluginDlg::loadDictionary ()
|
|
|
|
QStringList stringList = line.split (">", QString::SkipEmptyParts);
|
|
|
|
- if (!stringList.size () == 2)
|
|
+ if (stringList.size () != 2)
|
|
{
|
|
QMessageBox::warning (this,
|
|
tr ("Sequence Manipulation Tools Plugin"),
|