Skip to content

Commit

Permalink
Remove one the last QObject context from MythGallery...
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Riendeau committed Aug 8, 2013
1 parent 1a2b711 commit bad43e1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions mythplugins/mythgallery/mythgallery/main.cpp
Expand Up @@ -5,6 +5,7 @@
#include <QDir>
#include <QtPlugin>
#include <QImageReader>
#include <QCoreApplication>

// myth
#include <mythcontext.h>
Expand Down Expand Up @@ -50,12 +51,12 @@ static int run(MythMediaDevice *dev = NULL, bool startRandomShow = false)
}
else
{
ShowOkPopup(QObject::tr("MythGallery cannot find its start directory."
"\n%1\n"
"Check the directory exists, is readable and "
"the setting is correct on MythGallery's "
"settings page.")
.arg(startdir.absolutePath()));
ShowOkPopup(QCoreApplication::translate("(MythGalleryMain)",
"MythGallery cannot find its start directory.\n"
"%1\n"
"Check the directory exists, is readable and the setting is "
"correct on MythGallery's settings page.")
.arg(startdir.absolutePath()));
}

return -1;
Expand Down

0 comments on commit bad43e1

Please sign in to comment.