mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 08:54:12 +08:00
fix sorting of names
This commit is contained in:
parent
a566818ad4
commit
50f5b183f1
@ -18,7 +18,7 @@ extern const char* EXTEN_WINDOW_INSTRUCTIONS;
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
constexpr auto EXTEN_SAVE_FILE = u8"SavedExtensions.txt";
|
constexpr auto EXTEN_SAVE_FILE = u8"SavedExtensions.txt";
|
||||||
constexpr auto DEFAULT_EXTENSIONS = u8"Remove Repeated Characters>Remove Repeated Phrases>Regex Filter>Copy to Clipboard>Google Translate>Extra Window>Extra Newlines>Styler";
|
constexpr auto DEFAULT_EXTENSIONS = u8"Remove Repeated Characters>Regex Filter>Copy to Clipboard>Google Translate>Extra Window>Extra Newlines>Styler";
|
||||||
|
|
||||||
struct Extension
|
struct Extension
|
||||||
{
|
{
|
||||||
|
@ -185,7 +185,7 @@ namespace
|
|||||||
processesMap.insert(fileName, processId);
|
processesMap.insert(fileName, processId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::sort(processIcons.begin(), processIcons.end());
|
std::sort(processIcons.begin(), processIcons.end(), [](auto one, auto two) { return QString::compare(one.first, two.first, Qt::CaseInsensitive) < 0; });
|
||||||
|
|
||||||
AttachProcessDialog attachProcessDialog(This, processIcons);
|
AttachProcessDialog attachProcessDialog(This, processIcons);
|
||||||
if (attachProcessDialog.exec())
|
if (attachProcessDialog.exec())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user