|
|
@ -222,10 +222,10 @@ bool Application::event(QEvent *ev) |
|
|
|
// Get the url instead
|
|
|
|
// Get the url instead
|
|
|
|
path = static_cast<QFileOpenEvent *>(ev)->url().toString(); |
|
|
|
path = static_cast<QFileOpenEvent *>(ev)->url().toString(); |
|
|
|
qDebug("Received a mac file open event: %s", qPrintable(path)); |
|
|
|
qDebug("Received a mac file open event: %s", qPrintable(path)); |
|
|
|
if (running_) |
|
|
|
if (m_running) |
|
|
|
processParams(QStringList(path)); |
|
|
|
processParams(QStringList(path)); |
|
|
|
else |
|
|
|
else |
|
|
|
paramsQueue_.append(path); |
|
|
|
m_paramsQueue.append(path); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|