diff options
Diffstat (limited to 'sysinfowatchlet')
-rw-r--r-- | sysinfowatchlet/sysinfowatchlet.cpp | 2 | ||||
-rw-r--r-- | sysinfowatchlet/sysinfowatchlet.pro | 15 |
2 files changed, 6 insertions, 11 deletions
diff --git a/sysinfowatchlet/sysinfowatchlet.cpp b/sysinfowatchlet/sysinfowatchlet.cpp index c9f44c2..9e4bbf2 100644 --- a/sysinfowatchlet/sysinfowatchlet.cpp +++ b/sysinfowatchlet/sysinfowatchlet.cpp @@ -21,6 +21,6 @@ void SysInfoWatchlet::handleActivated() if (cfgs.size() > 0) { rootContext()->setContextProperty("networkName", cfgs[0].name()); } else { - rootContext()->setContextProperty("networkName", ""); + rootContext()->setContextProperty("networkName", "-"); } } diff --git a/sysinfowatchlet/sysinfowatchlet.pro b/sysinfowatchlet/sysinfowatchlet.pro index 8c87ad8..ebbaf9c 100644 --- a/sysinfowatchlet/sysinfowatchlet.pro +++ b/sysinfowatchlet/sysinfowatchlet.pro @@ -6,7 +6,7 @@ TARGET = sysinfowatchlet TEMPLATE = lib -# CONFIG += plugin # Stupid Qt creator doesn't want to deploy plugins +# CONFIG += plugin # Qt creator doesn't want to deploy plugins QT += network CONFIG += mobility MOBILITY += systeminfo @@ -15,7 +15,10 @@ SOURCES += sysinfoplugin.cpp sysinfowatchlet.cpp HEADERS += sysinfoplugin.h sysinfowatchlet.h -unix: LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch +win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../libsowatch/release/ -lsowatch +else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../libsowatch/debug/ -lsowatch +else:symbian: LIBS += -lsowatch +else:unix: LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch INCLUDEPATH += $$PWD/../libsowatch DEPENDPATH += $$PWD/../libsowatch @@ -34,11 +37,3 @@ OTHER_FILES += \ RESOURCES += \ sysinfowatchlet.qrc - - - - - - - - |