Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f0d0b987 authored by Christian Ehrlicher's avatar Christian Ehrlicher

Only try to load puzzle if a path was given (accidentally removed with b6f18561 some years ago...)

parent c24b375d
......@@ -40,7 +40,8 @@ Palapeli::MainWindow::MainWindow(const QString &path)
setupGUI(QSize(500, 500), guiOptions);
m_game->init();
//start a puzzle if a puzzle URL has been given
m_game->playPuzzleFile(path);
if (!path.isEmpty())
m_game->playPuzzleFile(path);
}
bool Palapeli::MainWindow::queryClose()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment