From ea6fdab34b76894b6dcf487bd7911958eb7ab59e Mon Sep 17 00:00:00 2001
From: SeeLook <945374+SeeLook@users.noreply.github.com>
Date: Sat, 12 Dec 2015 11:06:13 +0100
Subject: [PATCH] Minor fixes

---
 changes                | 2 +-
 src/exam/texamview.cpp | 2 +-
 src/mainwindow.cpp     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/changes b/changes
index 248cdf605..e84382ec1 100644
--- a/changes
+++ b/changes
@@ -1,4 +1,4 @@
-1.3.0 alpha
+1.2A.3 beta1
      - added touch interface, adjusted GUI layout to it
     ANDROID
      - new file and color dialogues adjusted for touch screens
diff --git a/src/exam/texamview.cpp b/src/exam/texamview.cpp
index 1452b7e9e..1d4b14b52 100644
--- a/src/exam/texamview.cpp
+++ b/src/exam/texamview.cpp
@@ -35,12 +35,12 @@ TexamView::TexamView(QWidget *parent) :
   QWidget(parent),
   m_exam(0)
 {
+  auto mainLay = new QHBoxLayout;
 #if defined (Q_OS_ANDROID)
   mainLay->setContentsMargins(0, 0, 0, 0);
 #else
   setStatusTip(tr("Exam results"));
 #endif
-  QHBoxLayout *mainLay = new QHBoxLayout;
   mainLay->addStretch();
   QHBoxLayout *okMistLay = new QHBoxLayout;
   m_corrLab = new QLabel(this);
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 9c00e4519..ab7c6bf4d 100755
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -86,9 +86,9 @@ MainWindow::MainWindow(QWidget *parent) :
   m_statusText(QString()),
   m_curBG(-1), m_prevBg(-1),
   m_lockStat(false),
+#endif
   m_updaterPlugin(0),
   m_updaterStoppedSound(false),
-#endif
   m_isPlayerFree(true)
 {
 #if !defined (Q_OS_ANDROID)
-- 
GitLab