* work save: color scheme
This commit is contained in:
parent
e3abdb88b7
commit
288a49deac
|
@ -365,9 +365,6 @@ void ColorManager::initItemDefines()
|
|||
//Syntax Error
|
||||
addDefine(COLOR_SCHEME_ERROR,true,false,false);
|
||||
addDefine(COLOR_SCHEME_WARNING,true,false,false);
|
||||
|
||||
|
||||
#define COLOR_SCHEME_INDENT_GUIDE_LINE "indent guide line"
|
||||
}
|
||||
|
||||
bool ColorManager::rename(const QString &oldName, const QString &newName)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/colorschemes">
|
||||
<file>colorschemes/vs_code.scheme</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -109,6 +109,7 @@ QString Settings::Dirs::data(Settings::Dirs::DataType dataType) const
|
|||
case DataType::ColorSheme:
|
||||
return ":/colorschemes/colorschemes";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
QString Settings::Dirs::config(Settings::Dirs::DataType dataType) const
|
||||
|
@ -122,7 +123,7 @@ QString Settings::Dirs::config(Settings::Dirs::DataType dataType) const
|
|||
case DataType::ColorSheme:
|
||||
return includeTrailingPathDelimiter(configDir)+"scheme";
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
void Settings::Dirs::doSave()
|
||||
|
|
Loading…
Reference in New Issue