`location`.


2013/6/25 trett <notifications@github.com>

> In src/plugins/azoth/plugins/autopaste/hastebinservice.cpp:
>
> > +	{
> > +		sender ()->deleteLater ();
> > +		QNetworkReply *reply = qobject_cast<QNetworkReply*> (sender ());
> > +		QByteArray bytes = reply->readAll ();
> > +		QJson::Parser parser;
> > +		bool ok;
> > +		QVariantMap result = parser.parse (bytes, &ok).toMap ();
> > +		if (!ok) {
> > +			qWarning () << Q_FUNC_INFO
> > +                        << "Ooops, cannot parse!"
> > +                        << sender ();
> > +		}
> > +		QUrl url ("http://hastebin.com/");
> > +		url.setPath ( result["key"].toString ());
> > +		QString location = url.toString ();
> > +		if (!location.isEmpty ())
>
> проверка location или result?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/0xd34df00d/leechcraft/pull/223/files#r4872827>
> .
>



-- 
  Georg Rudoy
  LeechCraft — http://leechcraft.org