summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-04-24 22:07:42 +0200
committerTannin <devnull@localhost>2014-04-24 22:07:42 +0200
commit264da609298c3bb533d32e53f39659d9c7e09bbf (patch)
treee857b10c2d5dec0421a9354cf9397bfc49f1cc68 /src/main.cpp
parent2db33523a1c8497657963a88f70fe1726cbf8fc9 (diff)
- updated installer
- prettified a few log messages
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 994dfd29..aafb1992 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -529,7 +529,11 @@ int main(int argc, char *argv[])
arguments.removeAt(profileIndex);
arguments.removeAt(profileIndex);
}
- qDebug("configured profile: %s", qPrintable(selectedProfileName));
+ if (selectedProfileName.isEmpty()) {
+ qDebug("no configured profile");
+ } else {
+ qDebug("configured profile: %s", qPrintable(selectedProfileName));
+ }
// if we have a command line parameter, it is either a nxm link or
// a binary to start