From d32326b26c3a8298efd0564136fec40f0d5ab29b Mon Sep 17 00:00:00 2001 From: ychclone <24619410+ychclone@users.noreply.github.com> Date: Tue, 18 Aug 2020 19:00:26 +0800 Subject: [PATCH] update default source mask --- Model/CProfileListModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/CProfileListModel.cpp b/Model/CProfileListModel.cpp index ca45559..2566082 100644 --- a/Model/CProfileListModel.cpp +++ b/Model/CProfileListModel.cpp @@ -69,7 +69,7 @@ bool CProfileListModel::dropMimeData(const QMimeData *data, Qt::DropAction actio // fill default value according to item dropped droppedItem.m_name = info.fileName(); droppedItem.m_srcDir = fName; - droppedItem.m_srcMask = "*.cpp *.c *.go *.js *.py *.ts"; + droppedItem.m_srcMask = "*.cpp *.c *.go *.java *.js *.py *.scala *.ts"; droppedItem.m_headerMask = "*.hpp *.h"; droppedItem.m_labels = "";