Fix compilation without libinput. #if is used everywhere else, #ifdef is wrong.

This commit is contained in:
David Faure 2017-05-13 12:05:33 +02:00
parent 2281bd19d8
commit bddde8d78e

View file

@ -1765,7 +1765,7 @@ void InputRedirection::setupTouchpadShortcuts()
if (!m_libInput) {
return;
}
#ifdef HAVE_INPUT
#if HAVE_INPUT
QAction *touchpadToggleAction = new QAction(this);
QAction *touchpadOnAction = new QAction(this);
QAction *touchpadOffAction = new QAction(this);