Commit 49a4e7a1 authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

Fix "All supported archives" filter in "Open Archive" dialog

7z archives were not being included in the filter due to the filename
extension starting with a digit. The regexp was fixed to include digits.
parent fba2a220
......@@ -228,7 +228,7 @@ void MainWindow::openArchive()
filters.sort(Qt::CaseInsensitive);
// Create the "All supported archives" filter
QRegularExpression rx("(\\*\\.[a-z]+\\.*[a-z0-9]*)+");
QRegularExpression rx("(\\*\\.[a-z0-9]+\\.*[a-z0-9]*)+");
QString allArchives(i18n("All supported archives ("));
foreach(QString s, filters)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment