summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-15 23:37:21 +0100
committerJonathan Bauer2011-03-15 23:37:21 +0100
commitf895dda6697c9c5edab87e7263d9c38a17ccb811 (patch)
tree3186bd8b6bf1a94079068546182f457e19898df2 /src/fbgui.cpp
parentfbgui.conf default paths checks, update interval modifiable (only in .conf), ... (diff)
downloadfbgui-f895dda6697c9c5edab87e7263d9c38a17ccb811.tar.gz
fbgui-f895dda6697c9c5edab87e7263d9c38a17ccb811.tar.xz
fbgui-f895dda6697c9c5edab87e7263d9c38a17ccb811.zip
fixes
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index cd58863..e74db26 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -44,7 +44,8 @@ fbgui::fbgui()
}
//-------------------------------------------------------------------------------------------
-void fbgui::checkHost() const {
+void fbgui::checkHost() const
+{
QHostInfo hostInfo = QHostInfo::fromName(baseURL.host());
if (hostInfo.error() != QHostInfo::NoError){
qDebug() << "Lookup of " << baseURL.host() << "failed." << "Exiting...";