~ubuntu-branches/debian/stretch/psi-plus/stretch

« back to all changes in this revision

Viewing changes to src/plugins/dev/pstoplugin/pstoplugin.cpp

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2013-10-23 02:42:20 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20131023024220-bk2hyoenqkwfhpgw
Tags: 0.16.242-1
* New upstream release:
  fixed the problem of initialization of private conversation when both
  sides use libotr 4.0.x. (Closes: #724880)
* Update debian/watch: sources were moved.
* Delete psi-plus-content-downloader package and update all related files.
  This plugin is in psi-plus-plugins package now.
* Update debian/control:
  - remove all currently unneeded Replaces and Breaks fields
  - add build dependency on libidn11-dev
* Update debian/rules: simplify get-orig-source section.
* Update debian/copyright:
  - update Source field due to changes in sources location
  - remove copyright holders whose code was deleted from source tree
    (bundled libidn library was removed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
 
228
228
 
229
229
QString PstoPlugin::generateXMPPUrl(const QString & jid, const QString & message) {
230
 
    QString message_percent(message.toAscii().toPercentEncoding());
 
230
    QString message_percent(message.toLatin1().toPercentEncoding());
231
231
    return QString("xmpp:%1?message;type=chat;body=%2").arg(jid, message_percent);
232
232
}
233
233
 
460
460
    html_body.appendChild(doc.createElement("br"));
461
461
}
462
462
 
 
463
QPixmap PstoPlugin::icon() const
 
464
{
 
465
        return QPixmap(":/icons/psto.png");
 
466
}
 
467
 
 
468
#ifndef HAVE_QT5
463
469
Q_EXPORT_PLUGIN(PstoPlugin);
 
470
#endif