diff options
| author | Tannin <devnull@localhost> | 2014-04-24 22:07:42 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-04-24 22:07:42 +0200 |
| commit | 264da609298c3bb533d32e53f39659d9c7e09bbf (patch) | |
| tree | e857b10c2d5dec0421a9354cf9397bfc49f1cc68 /src/main.cpp | |
| parent | 2db33523a1c8497657963a88f70fe1726cbf8fc9 (diff) | |
- updated installer
- prettified a few log messages
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
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 |
