Explorar o código

fix build warning

Le Tan %!s(int64=7) %!d(string=hai) anos
pai
achega
4f4652dc3a
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  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();
 }