diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index e12b15a..fb7d3f5 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -118,6 +118,7 @@ void MainWindow::pdfPreviewReceived(PdfPreview preview) { ClickLabel *label = new ClickLabel(); label->setPixmap(QPixmap::fromImage(preview.previewImage)); + label->setToolTip(preview.documentPath); ui->scrollAreaWidgetContents->layout()->addWidget(label); connect(label, &ClickLabel::clicked, [=]()