mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-04 02:00:43 +00:00
Update common.cpp - replaced nonexistent filename for directory validation.
This commit is contained in:
parent
2e98100ba7
commit
57cea6bcd5
@ -256,7 +256,7 @@ QString appResourcePath()
|
||||
paths.append( QString( "/usr/local/share/" ) + appName );
|
||||
#endif
|
||||
for (auto p = begin(paths); p != end(paths); ++p ) {
|
||||
QString fname = *p+QString("/Translations/oscar_qt_fr.qm");
|
||||
QString fname = *p+QString("/Html/about.html"); // was "/Translations/oscar_qt_fr.qm" - Crimson Nape
|
||||
qDebug() << "Trying" << fname;
|
||||
QFileInfo f = QFileInfo(fname);
|
||||
if ( f.exists() ) {
|
||||
|
Loading…
Reference in New Issue
Block a user