diff options
author | Aurelien Gateau <aurelien.gateau@canonical.com> | 2011-12-06 15:46:27 +0100 |
---|---|---|
committer | Aurelien Gateau <aurelien.gateau@canonical.com> | 2011-12-06 15:46:27 +0100 |
commit | 99feb696b581c364df7fb2f5b7d6cd90e80381a8 (patch) | |
tree | 5def46a3d68259a0c82b93dc5fea9191465b4aa0 | |
parent | b6e9f17b17e1cf835af4a04f9c55dc682ac7603f (diff) | |
download | lightdm-99feb696b581c364df7fb2f5b7d6cd90e80381a8.tar.gz |
System is still here for now, use lightdm_get_hostname()
(We don't link to QtNetwork anymore)
-rw-r--r-- | liblightdm-qt/system.cpp | 4 |
1 files 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 <QtNetwork/QHostInfo> +#include <lightdm.h> using namespace QLightDM; QString System::hostname() { - return QHostInfo::localHostName(); + return QString::fromLocal8Bit(lightdm_get_hostname()); } |