File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ void MainWindow::load(QTextStream &textStream)
137137 QString line = textStream.readLine ();
138138 if (line.isNull ())
139139 break ;
140- if (line.startsWith (" ftp://" ) || (line.startsWith (DACA2_PACKAGES) && line.endsWith (" .tar.xz" ))) {
140+ if (line.startsWith (" ftp://" ) || line. startsWith ( " https:// " ) || (line.startsWith (DACA2_PACKAGES) && line.endsWith (" .tar.xz" ))) {
141141 local = line.startsWith (DACA2_PACKAGES) && line.endsWith (" .tar.xz" );
142142 url = line;
143143 if (!errorMessage.isEmpty ())
@@ -293,7 +293,7 @@ void MainWindow::showResult(QListWidgetItem *item)
293293{
294294 ui->statusBar ->clearMessage ();
295295 const bool local = item->text ().startsWith (DACA2_PACKAGES);
296- if (!item->text ().startsWith (" ftp://" ) && !local)
296+ if (!item->text ().startsWith (" ftp://" ) && !item-> text (). startsWith ( " https:// " ) && ! local)
297297 return ;
298298 const QStringList lines = item->text ().split (" \n " );
299299 if (lines.size () < 2 )
You can’t perform that action at this time.
0 commit comments