Changeset View
Changeset View
Standalone View
Standalone View
core/backends/linkprovider.cpp
Show All 14 Lines | |||||
15 | * GNU General Public License for more details. | 15 | * GNU General Public License for more details. | ||
16 | * | 16 | * | ||
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #include "linkprovider.h" | 21 | #include "linkprovider.h" | ||
22 | 22 | | |||
23 | #include <core/networkpacket.h> | ||||
24 | | ||||
25 | #include <QThread> | ||||
26 | | ||||
23 | LinkProvider::LinkProvider() | 27 | LinkProvider::LinkProvider() | ||
24 | { | 28 | { | ||
25 | //gcc complains if we don't add something to compile on a class with virtual functions | 29 | m_thread.start(); | ||
30 | qRegisterMetaType<NetworkPacket>("NetworkPacket"); | ||||
26 | } | 31 | } | ||
27 | 32 | |