1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

fixup! Raise main window when starting another instance w/o params

This commit is contained in:
Nick Tiskov 2013-01-26 22:22:17 +04:00
parent 5ca5441a48
commit 1090e87f3a

View File

@ -960,7 +960,7 @@ void MainWindow::processParams(const QStringList& params) {
if (misc::isUrl(param)) {
QBtSession::instance()->downloadFromUrl(param);
}else{
if(param.startsWith("qbt://show", Qt::CaseInsensitive)) {
if(param.startsWith("qbt://show")) {
if(ui_locked) {
if(!unlockUI())
return;