From 99feb696b581c364df7fb2f5b7d6cd90e80381a8 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Tue, 6 Dec 2011 15:46:27 +0100 Subject: System is still here for now, use lightdm_get_hostname() (We don't link to QtNetwork anymore) --- liblightdm-qt/system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liblightdm-qt/system.cpp b/liblightdm-qt/system.cpp index 2461aaad..84040aa0 100644 --- a/liblightdm-qt/system.cpp +++ b/liblightdm-qt/system.cpp @@ -12,11 +12,11 @@ #include "QLightDM/system.h" -#include +#include using namespace QLightDM; QString System::hostname() { - return QHostInfo::localHostName(); + return QString::fromLocal8Bit(lightdm_get_hostname()); } -- cgit v1.2.1