Added Support for ignored files
Better handling when refreshing workspaces with lots of files FossilOrigin-Name: f038928c484d177fbe86bee4cd689d8a7d1e3eeb
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#define SETTINGSDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QMap>
|
||||
|
||||
namespace Ui {
|
||||
class SettingsDialog;
|
||||
@ -12,6 +13,17 @@ struct Settings
|
||||
QString fossilPath;
|
||||
QString gDiffCommand;
|
||||
QString gMergeCommand;
|
||||
QString ignoreGlob;
|
||||
|
||||
typedef QMap<QString, QString *> mappings_t;
|
||||
mappings_t Mappings;
|
||||
|
||||
Settings()
|
||||
{
|
||||
Mappings.insert("gdiff-command", &gDiffCommand);
|
||||
Mappings.insert("gmerge-command", &gMergeCommand);
|
||||
Mappings.insert("ignore-glob", &ignoreGlob);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user