Add windschedtool to the linux .pro.in so that the messages get extracted

This commit is contained in:
Jean-Francois Dockes 2020-04-14 08:53:01 +02:00
parent 16dd8ee7c7
commit 9917168a0e
2 changed files with 5 additions and 1 deletions

View File

@ -91,6 +91,7 @@ SOURCES += \
viewaction_w.cpp \
webcache.cpp \
widgets/qxtconfirmationmessage.cpp \
winschedtool.cpp \
xmltosd.cpp
FORMS = \
@ -111,7 +112,8 @@ FORMS = \
viewaction.ui \
webcache.ui \
widgets/editdialog.ui \
widgets/listdialog.ui
widgets/listdialog.ui \
winschedtool.ui
RESOURCES = recoll.qrc

View File

@ -14,6 +14,7 @@
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifdef _WIN32
#include "autoconfig.h"
#include "winschedtool.h"
@ -86,3 +87,4 @@ void WinSchedToolW::startWinScheduler()
vector<string> lcmd{"c:/windows/system32/taskschd.msc"};
m_cmd->startExec("rclstartw", lcmd, false, false);
}
#endif /* _WIN32 */