QTfrontend/ui/page/pagemain.cpp
changeset 9835 e89b42c55047
parent 9833 1957c7f92460
child 9846 4dc7cb571e1d
equal deleted inserted replaced
9834:4486c29d176c 9835:e89b42c55047
   197                     line.contains("</linux-only>", Qt::CaseSensitive)) {
   197                     line.contains("</linux-only>", Qt::CaseSensitive)) {
   198                 tip_platform = 0;
   198                 tip_platform = 0;
   199             }
   199             }
   200             QStringList split_string = line.split(QRegExp("</?tip>"));
   200             QStringList split_string = line.split(QRegExp("</?tip>"));
   201             if((tip_platform == platform || tip_platform == 0) && split_string.size() != 1)
   201             if((tip_platform == platform || tip_platform == 0) && split_string.size() != 1)
   202                 Tips << tr(split_string[1].toLatin1().data(), "Tips");
   202                 Tips << split_string[1];
   203             line = in.readLine();
   203             line = in.readLine();
   204         }
   204         }
   205         // The following tip will require links to app store entries first.
   205         // The following tip will require links to app store entries first.
   206         //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg("");
   206         //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg("");
   207         // the ios version is located here: http://itunes.apple.com/us/app/hedgewars/id391234866
   207         // the ios version is located here: http://itunes.apple.com/us/app/hedgewars/id391234866