Tweak style for attachments.

This commit is contained in:
Martin Rotter 2017-10-08 21:58:31 +02:00
parent 5c54de4ffa
commit fd2ec44fa2
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
<a class="btn btn-primary btn-sm" href="%1">%2 (%3)</a>
<a style="margin-right: 5px;" class="btn btn-primary btn-sm" href="%1">%2 (%3)</a>

View File

@ -42,8 +42,11 @@
#include <QTimer>
#include <QTranslator>
#if defined (Q_OS_MAC)
extern void disableWindowTabbing();
#endif
int main(int argc, char* argv[]) {
for (int i = 0; i < argc; i++) {
const QString str = QString::fromLocal8Bit(argv[i]);
@ -87,7 +90,7 @@ int main(int argc, char* argv[]) {
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#ifdef Q_OS_MAC
#if defined (Q_OS_MAC)
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
disableWindowTabbing();
#endif