Browse Source

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

adaptive-webui-19844
Nick Tiskov 12 years ago
parent
commit
1090e87f3a
  1. 2
      src/mainwindow.cpp

2
src/mainwindow.cpp

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

Loading…
Cancel
Save