Skip to content

Commit

Permalink
Добавлена проверка платформы перед вызовом FileAssociationDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexChernov committed Nov 17, 2014
1 parent cd906b1 commit 13d9c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/rdo_studio/src/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ void Application::setupFileAssociation()
if (pos != -1)
{
openCommand.remove(pos, appParam.length());
if (openCommand != appFullName)
if (openCommand != appFullName && qApp->platformName() != QString("minimal"))
{
FileAssociationDialog dlg(g_pApp->getMainWndUI());
mustBeRegistered = dlg.exec() == QDialog::Accepted;
Expand Down

0 comments on commit 13d9c03

Please sign in to comment.