From 264da609298c3bb533d32e53f39659d9c7e09bbf Mon Sep 17 00:00:00 2001 From: Tannin Date: Thu, 24 Apr 2014 22:07:42 +0200 Subject: - updated installer - prettified a few log messages --- src/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') 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 -- cgit v1.3.1