Add OpenWith... tool

This commit is contained in:
lupoDharkael
2017-12-01 21:35:07 +01:00
parent 361f7fad18
commit 4664562728
22 changed files with 587 additions and 3 deletions

View File

@@ -190,6 +190,7 @@ static std::map<CaptureButton::ButtonType, int> buttonTypeOrder {
{ CaptureButton::TYPE_SAVE, 11 },
{ CaptureButton::TYPE_EXIT, 12 },
{ CaptureButton::TYPE_IMAGEUPLOADER, 13 },
{ CaptureButton::TYPE_OPEN_APP, 14 },
};
int CaptureButton::getPriorityByButton(CaptureButton::ButtonType b) {
@@ -197,7 +198,6 @@ int CaptureButton::getPriorityByButton(CaptureButton::ButtonType b) {
return it == buttonTypeOrder.cend() ? (int)buttonTypeOrder.size() : it->second;
}
QVector<CaptureButton::ButtonType> CaptureButton::iterableButtonTypes = {
CaptureButton::TYPE_PENCIL,
CaptureButton::TYPE_LINE,
@@ -213,4 +213,5 @@ QVector<CaptureButton::ButtonType> CaptureButton::iterableButtonTypes = {
CaptureButton::TYPE_SAVE,
CaptureButton::TYPE_EXIT,
CaptureButton::TYPE_IMAGEUPLOADER,
CaptureButton::TYPE_OPEN_APP,
};