1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

Forgotten setAcceptDrops

This commit is contained in:
George King
2025-04-05 11:12:37 +02:00
committed by GitHub
parent 9c10a0c05b
commit b9ef9f64bb

View File

@@ -188,6 +188,8 @@ MainWindow::MainWindow(QWidget* parent) :
// This is important on Mac for relative paths to work inside DMG.
QDir::setCurrent(QApplication::applicationDirPath());
setAcceptDrops(true);
new QShortcut(QKeySequence("Backspace"), this, SLOT(on_actionErase_triggered()));
ExtractionOptions extractionOptions;