Permalink
Browse files

Fixed compile error

  • Loading branch information...
bmcdorman committed Aug 14, 2012
1 parent e5622a6 commit f384e87ee7d550c96a13e3c9bf7bb5a34f7a68c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/dialogs/TemplateDialog.cpp
@@ -156,7 +156,7 @@ void TemplateDialog::on_ui_remove_clicked()
void TemplateDialog::on_ui_install_clicked()
{
- QString path = QFileDialog::getExistingFile(this, "Install Template Pack", QDir::homePath(), KISS_TEMPLATE_PACK_FILTER);
+ QString path = QFileDialog::getOpenFileName(this, "Install Template Pack", QDir::homePath(), KISS_TEMPLATE_PACK_FILTER);
if(path.isEmpty()) return;
QString name = QFileInfo(path).completeBaseName();
TinyArchiveFile file(path.toStdString());

0 comments on commit f384e87

Please sign in to comment.