Skip to content

Commit

Permalink
Change default source mask from *.* to * to include filename without
Browse files Browse the repository at this point in the history
extension
  • Loading branch information
ychclone committed Aug 23, 2024
1 parent f302239 commit 8360625
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Display/CConfigDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void CConfigDlg::loadSetting()
if (defaultMaskForNewProject != "") { // load from setting
defaultMaskForNewProject_lineEdit->setText(defaultMaskForNewProject);
} else {
defaultMaskForNewProject_lineEdit->setText("*.*");
defaultMaskForNewProject_lineEdit->setText("*");
}

QString defaultDirToExclude = confManager->getAppSettingValue("defaultDirToExclude").toString();
Expand Down
2 changes: 1 addition & 1 deletion Display/CMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ void CMainWindow::on_projectAddDirectoryButton_clicked()
QString defaultMaskForNewProject = confManager_->getAppSettingValue("defaultMaskForNewProject").toString();

if (defaultMaskForNewProject == "") {
projectItem.srcMask_ = "*.*";
projectItem.srcMask_ = "*";
} else {
projectItem.srcMask_ = defaultMaskForNewProject;
}
Expand Down
2 changes: 1 addition & 1 deletion Model/CProjectListModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ bool CProjectListModel::dropMimeData(const QMimeData *data, Qt::DropAction actio
QString defaultMaskForNewProject = confManager_->getAppSettingValue("defaultMaskForNewProject").toString();

if (defaultMaskForNewProject == "") {
droppedItem.srcMask_ = "*.*";
droppedItem.srcMask_ = "*";
} else {
droppedItem.srcMask_ = defaultMaskForNewProject;
}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Source code is avaliable in

# Change Log

## version [1.9.4]

- Change default source mask from \*.\* to \* to include file without extension

## version [1.9.3]

- Support directory to exclude and file mask to exclude
Expand Down
2 changes: 1 addition & 1 deletion Resources/Forms/aboutDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Blink v1.9.3</string>
<string>Blink v1.9.4</string>
</property>
</widget>
</item>
Expand Down
4 changes: 2 additions & 2 deletions Setup/blinkSetup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Blink"
#define MyAppVersion "1.9.3"
#define MyAppVersion "1.9.4"
#define MyAppPublisher "ychclone"
#define MyAppURL "https://github.com/ychclone/blink"
#define MyAppExeName "blink.exe"
Expand All @@ -20,7 +20,7 @@ AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\Blink
DisableProgramGroupPage=yes
OutputBaseFilename=blink-1.9.3-setup
OutputBaseFilename=blink-1.9.4-setup
Compression=lzma
SolidCompression=yes
WizardStyle=modern
Expand Down

0 comments on commit 8360625

Please sign in to comment.