fix build warning

This commit is contained in:
Le Tan 2018-07-03 21:09:31 +08:00
parent b6ecc2eae1
commit 4f4652dc3a
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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();
}