summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
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;
}