Add OpenWith... tool
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user