corregido bug que evitaba drag&drop para abrir

corregido bug en el filtro de ficheros del di?logo abrir

information label s?lo se muestra si hay un c?mic abierto
This commit is contained in:
Luis Ángel San Martín
2013-03-09 11:30:41 +01:00
parent a664eaf90e
commit cefcd7d313
2 changed files with 12 additions and 8 deletions

View File

@ -416,7 +416,7 @@ void MainWindowViewer::reloadOptions()
void MainWindowViewer::open()
{
QFileDialog openDialog;
QString pathFile = openDialog.getOpenFileName(this,tr("Open Comic"),currentDirectory,tr("Comic files") + "(*.cbr *.cbz *.rar *.zip *.tar *.pdf *.7z *.cb7 *.arj *.cbt");
QString pathFile = openDialog.getOpenFileName(this,tr("Open Comic"),currentDirectory,tr("Comic files") + "(*.cbr *.cbz *.rar *.zip *.tar *.pdf *.7z *.cb7 *.arj *.cbt)");
if (!pathFile.isEmpty())
{
openComicFromPath(pathFile);