mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-09 16:15:45 +00:00
Code style
This commit is contained in:
parent
cf46a9aae1
commit
3c16572525
@ -70,7 +70,6 @@ public:
|
||||
*/
|
||||
PLUGIN = 1 << 3,
|
||||
|
||||
|
||||
/**
|
||||
* Flag for loading all plugins.
|
||||
*/
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user