Code style

This commit is contained in:
Patrick von Reth 2015-08-18 10:41:46 +02:00
parent cf46a9aae1
commit 3c16572525
4 changed files with 3 additions and 4 deletions

View File

@ -70,7 +70,6 @@ public:
*/
PLUGIN = 1 << 3,
/**
* Flag for loading all plugins.
*/

View File

@ -52,7 +52,7 @@ void PluginSettingsWidget::addRow(const QString &label, QWidget *widget, const Q
{
QLabel *lb = new QLabel(label, this);
m_layout->addRow(lb, widget);
if(!toolTip.isEmpty()){
if (!toolTip.isEmpty()) {
widget->setToolTip(toolTip);
lb->setToolTip(toolTip);
}

View File

@ -27,7 +27,7 @@ NotifyMyAndroidSettings::NotifyMyAndroidSettings(Snore::SnorePlugin *plugin, QWi
m_lineEdit(new QLineEdit)
{
addRow(tr("Api Key:"), m_lineEdit, tr("The api key which can be found in your account page at <a href=\"http://notifymyandroid.com/\">Notifymyandroid.com</a>."));
addRow(QString(), new QLabel(tr("If you don't have an accout yet please register at <a href=\"http://notifymyandroid.com/\">Notifymyandroid.com</a>."),this));
addRow(QString(), new QLabel(tr("If you don't have an accout yet please register at <a href=\"http://notifymyandroid.com/\">Notifymyandroid.com</a>."), this));
}
NotifyMyAndroidSettings::~NotifyMyAndroidSettings()

View File

@ -31,7 +31,7 @@ PushoverSettings::PushoverSettings(Snore::SnorePlugin *plugin, QWidget *parent)
addRow(tr("User Key:"), m_keyLineEdit, tr("The user key which can be found on your account page at <a href=\"https://pushover.net\">Pushover.net</a>."));
addRow(tr("Sound:"), m_soundLineEdit, tr("The pushover sound that it played when a notification is recieved."));
addRow(tr("Devices:"), m_deviceLineEdit, tr("The devices that are to recieve the notifications."));
addRow(QString(), new QLabel(tr("If you don't have an accout yet please register at <a href=\"https://pushover.net\">Pushover.net</a>"),this));
addRow(QString(), new QLabel(tr("If you don't have an accout yet please register at <a href=\"https://pushover.net\">Pushover.net</a>"), this));
}
PushoverSettings::~PushoverSettings()