diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-26 06:18:11 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-26 06:18:11 -0400 |
| commit | 21185182c6551d053cccdcf087e0c219a3785cf8 (patch) | |
| tree | 6994b9a2436f23b2765c557f133387c8e6b82d5e /src/mainwindow.cpp | |
| parent | 0439e18fe4cd2500c4ab6b3ff219c53153cf2175 (diff) | |
moved getFileExecutionContext() and its enum into OrganizerCore
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
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; } |
