summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-05-26 06:18:11 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-05-26 06:18:11 -0400
commit21185182c6551d053cccdcf087e0c219a3785cf8 (patch)
tree6994b9a2436f23b2765c557f133387c8e6b82d5e /src/mainwindow.cpp
parent0439e18fe4cd2500c4ab6b3ff219c53153cf2175 (diff)
moved getFileExecutionContext() and its enum into OrganizerCore
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index b1728617..810caa01 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5152,12 +5152,14 @@ void MainWindow::addAsExecutable()
return;
}
+ using FileExecutionTypes = OrganizerCore::FileExecutionTypes;
+
QFileInfo targetInfo(m_ContextItem->data(0, Qt::UserRole).toString());
QFileInfo binaryInfo;
QString arguments;
FileExecutionTypes type;
- if (!GetFileExecutionContext(this, targetInfo, binaryInfo, arguments, type)) {
+ if (!OrganizerCore::getFileExecutionContext(this, targetInfo, binaryInfo, arguments, type)) {
return;
}