Load resources manually at startup since they are now in a static library.

This commit is contained in:
codestation
2015-12-27 22:32:08 -04:30
parent 5f508fa47c
commit 6eeba0b71a
4 changed files with 7 additions and 1 deletions

View File

@@ -79,6 +79,9 @@ static bool setup_handlers()
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE(commonrc);
Q_INIT_RESOURCE(translations);
if(SingleApplication::sendMessage(QObject::tr("An instance of Qcma is already running"))) {
return 0;
}