enable markup for internal apps

This commit is contained in:
Patrick von Reth 2015-06-26 12:35:11 +02:00
parent 229b725c55
commit 5ecd0c3cc3
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ using namespace Snore;
TrayIcon::TrayIcon():
m_trayIcon(new QSystemTrayIcon(QIcon(":/root/snore.png")))
{
SnoreCorePrivate::instance()->defaultApplication().hints().setValue("use-markup", QVariant::fromValue(true));
SnoreCorePrivate::instance()->defaultApplication().hints().setValue("tray-icon", m_trayIcon);
}

View File

@ -61,6 +61,7 @@ int main(int argc, char *argv[])
app.setApplicationVersion(Snore::Version::version());
Snore::SnoreCore::instance().loadPlugins(Snore::SnorePlugin::ALL);
Snore::SnoreCorePrivate::instance()->defaultApplication().hints().setValue("use-markup", QVariant::fromValue(true));
QCommandLineParser parser;
parser.setApplicationDescription("A settings interface for Snorenotify.");