Browse Source

fix build warning

Le Tan 7 years ago
parent
commit
4f4652dc3a
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/vnavigationmode.h
  2. 2 2
      src/vtaglabel.cpp

+ 1 - 1
src/vnavigationmode.h

@@ -77,7 +77,7 @@ public:
         VNavigationMode::showNavigation(m_widget);
     }
 
-    bool handleKeyNavigation(int p_key, bool &p_succeed)
+    bool handleKeyNavigation(int p_key, bool &p_succeed) Q_DECL_OVERRIDE
     {
         static bool secondKey = false;
 

+ 2 - 2
src/vtaglabel.cpp

@@ -10,8 +10,8 @@ VTagLabel::VTagLabel(const QString &p_text,
                      bool p_useFullText,
                      QWidget *p_parent)
     : QWidget(p_parent),
-      m_useFullText(p_useFullText),
-      m_text(p_text)
+      m_text(p_text),
+      m_useFullText(p_useFullText)
 {
     setupUI();
 }