]> granicus.if.org Git - nethack/commitdiff
Qt without tiles again
authorPatR <rankin@nethack.org>
Mon, 31 Aug 2020 22:47:49 +0000 (15:47 -0700)
committerPatR <rankin@nethack.org>
Mon, 31 Aug 2020 22:47:49 +0000 (15:47 -0700)
"Qt without tiles" (commit ae4c180cf62ce4f19bd020495d6b089584b2426b)
two weeks ago accidentally took out a line that should have stayed.

win/Qt/qt_glyph.cpp

index 807b4dc7d769d2642fb1c6bb3e09c11db7625f2d..1585d9ca956a59f668001b0e52fb66f7428a399e 100644 (file)
@@ -52,6 +52,7 @@ NetHackQtGlyphs::NetHackQtGlyphs()
        if (!img.load(tile_file)) {
            QString msg;
             msg.sprintf("Cannot load 'nhtiles.bmp' or 'x11tiles'.");
+            QMessageBox::warning(0, "IO Error", msg);
             iflags.wc_ascii_map = 1;
             iflags.wc_tiled_map = 0;
        } else {