#include "addressdialog.h"\r
-#include "location.h"\r
-#include "ytv.h"\r
-#include "locations.h"\r
+#include "logic/location.h"\r
+#include "logic/ytv.h"\r
+#include "logic/locations.h"\r
\r
#include <QWidget>\r
#include <QDialog>\r
QXmlStreamReader xml(this->m_reply->readAll());\r
//Remove the reply. Hopefully also removes the connection.\r
//delete this->m_reply;\r
- this->m_reply = 0;\r
+ this->m_reply->deleteLater();\r
\r
bool responseHasError = false;\r
this->m_places = QList<Location*>();\r
if (address == (*it)->label())\r
{\r
qDebug() << "Found item from list: " << *it;\r
- ret = new Location(*it);\r
+ ret = new Location(**it);\r
qDebug() << "After assignment: " << ret;\r
}\r
}\r