diff options
author | Maksim Andrianov <maksimandrianov1@gmail.com> | 2018-06-22 12:38:48 +0300 |
---|---|---|
committer | Maksim Andrianov <maksimandrianov1@gmail.com> | 2018-06-25 17:58:38 +0300 |
commit | bb257b4c22d9d56d6c0988d6883336ad191f5f74 (patch) | |
tree | 7bab786dcca2a4f4df31cdc33945fc064bf11897 /qt | |
parent | e5811353c10ed89000c1be6ecda98bd206094909 (diff) |
Fixed warn: ignoring return value
Diffstat (limited to 'qt')
-rw-r--r-- | qt/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp index bad2b9c906..09930b960e 100644 --- a/qt/mainwindow.cpp +++ b/qt/mainwindow.cpp @@ -124,7 +124,9 @@ MainWindow::MainWindow(Framework & framework, bool apiOpenGLES3, QString const & #ifndef NO_DOWNLOADER // Show intro dialog if necessary bool bShow = true; - (void)settings::Get("ShowWelcome", bShow); + const string showWelcome = "ShowWelcome"; + if (!settings::Get(showWelcome, bShow)) + LOG(LWARNING, ("Unable to read settings:", showWelcome)); if (bShow) { |