diff options
-rw-r--r-- | lib/about/aboutdialog.cpp | 2 | ||||
-rw-r--r-- | lib/configuration/configuration.cpp | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/about/aboutdialog.cpp b/lib/about/aboutdialog.cpp index 2b382c6..df87ad2 100644 --- a/lib/about/aboutdialog.cpp +++ b/lib/about/aboutdialog.cpp @@ -18,7 +18,7 @@ #elif defined(__GNUC__) #define compiler "GCC " __VERSION__ #elif defined(_MSC_VER) -#define compiler "MSVC " _MSC_VER +#define compiler "MSVC" #else #define compiler "unknown compiler" #endif diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp index edca0d8..d3a8b23 100644 --- a/lib/configuration/configuration.cpp +++ b/lib/configuration/configuration.cpp @@ -81,12 +81,6 @@ Configuration::Configuration() ("downloads.path", po::value<std::string>()->default_value("~/Downloads")) ("downloads.shortcut", po::value<std::string>()->default_value("Ctrl+D")) ; - - // store the defaults into the vm - { - const char *argv[0]; - po::store(po::parse_command_line(0, argv, desc), vm); - } } Configuration::~Configuration() = default; |