summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas2011-10-07 14:14:31 +0200
committerNiklas2011-10-07 14:14:31 +0200
commit4ffa4d80d53f35452605202f657b7228b76735d6 (patch)
tree14de88eb586968272d70dd6d9f0c4488cc0e0c89
parentadding files of the renamed directory (diff)
downloadfbgui-4ffa4d80d53f35452605202f657b7228b76735d6.tar.gz
fbgui-4ffa4d80d53f35452605202f657b7228b76735d6.tar.xz
fbgui-4ffa4d80d53f35452605202f657b7228b76735d6.zip
renamed LogReceiver.pro into NetworkDiscovery.pro
-rw-r--r--NetworkDiscovery/NetworkDiscovery.pro (renamed from NetworkDiscovery/LogReceiver.pro)0
-rw-r--r--NetworkDiscovery/networkdiscovery.cpp3
2 files changed, 2 insertions, 1 deletions
diff --git a/NetworkDiscovery/LogReceiver.pro b/NetworkDiscovery/NetworkDiscovery.pro
index 802bfeb..802bfeb 100644
--- a/NetworkDiscovery/LogReceiver.pro
+++ b/NetworkDiscovery/NetworkDiscovery.pro
diff --git a/NetworkDiscovery/networkdiscovery.cpp b/NetworkDiscovery/networkdiscovery.cpp
index 0b21738..e9710fd 100644
--- a/NetworkDiscovery/networkdiscovery.cpp
+++ b/NetworkDiscovery/networkdiscovery.cpp
@@ -184,8 +184,9 @@ QString NetworkDiscovery::readLogFile() {
QString retval("the log file");
QFile logFile(_pathToLogFile);
if (logFile.exists()) {
- if (logFile.open(QIODevice::ReadOnly | QIODevice::Text))
+ if (logFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
return retval;
+ }
}
while (!logFile.atEnd()) {
retval.append(logFile.readLine());