Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
authorMaksim Andrianov <maksimandrianov1@gmail.com>2018-06-22 12:38:48 +0300
committerMaksim Andrianov <maksimandrianov1@gmail.com>2018-06-25 17:58:38 +0300
commitbb257b4c22d9d56d6c0988d6883336ad191f5f74 (patch)
tree7bab786dcca2a4f4df31cdc33945fc064bf11897 /qt
parente5811353c10ed89000c1be6ecda98bd206094909 (diff)
Fixed warn: ignoring return value
Diffstat (limited to 'qt')
-rw-r--r--qt/mainwindow.cpp4
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)
{