mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 18:40:54 +00:00
Changed: Minor changes
This commit is contained in:
parent
d936b42889
commit
342c4fb1d1
3 changed files with 10 additions and 16 deletions
|
@ -245,13 +245,15 @@ void CMainWindow::onUninstall()
|
|||
components = dialog.getSelectedCompenents();
|
||||
}
|
||||
|
||||
COperationDialog dialog;
|
||||
|
||||
dialog.setOperation(OperationUninstall);
|
||||
dialog.setUninstallComponents(components);
|
||||
|
||||
if (dialog.exec())
|
||||
{
|
||||
COperationDialog dialog(this);
|
||||
|
||||
dialog.setOperation(OperationUninstall);
|
||||
dialog.setUninstallComponents(components);
|
||||
|
||||
if (dialog.exec())
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -771,14 +771,9 @@ void COperationDialog::copyInstaller()
|
|||
// create menu directory if defined
|
||||
QString path = config->getMenuDirectory();
|
||||
|
||||
if (!path.isEmpty())
|
||||
if (!path.isEmpty() && !QDir().mkpath(path))
|
||||
{
|
||||
QDir dir;
|
||||
|
||||
if (!dir.mkpath(path))
|
||||
{
|
||||
qDebug() << "Unable to create directory" << path;
|
||||
}
|
||||
qDebug() << "Unable to create directory" << path;
|
||||
}
|
||||
|
||||
// create installer link in menu
|
||||
|
|
|
@ -229,9 +229,6 @@ bool resolveShortcut(const QWidget &window, const QString &shortcut, QString &pa
|
|||
// Handle success
|
||||
path = QDir::fromNativeSeparators(qFromWide(szGotPath));
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue