pdf previews: set tooltip showing documents path

Šī revīzija ir iekļauta:
Albert S. 2019-04-30 12:30:29 +02:00
vecāks 897b6d03a5
revīzija f975a40ddd

Parādīt failu

@ -116,6 +116,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, [=]() {
QSettings settings;