Moved font size definitions from ui files to default qss.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7734 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-12-07 16:27:24 +00:00
parent 90c3c24412
commit ea53e41c9c
11 changed files with 78 additions and 119 deletions

View file

@ -523,10 +523,6 @@ QAction *MainWindow::createPageAction(const QIcon &icon, const QString &text, QA
* Have to pass function pointer and slot, because we can't make slot of function pointer */
void MainWindow::addAction(QAction *action, FunctionType actionFunction, const char *slot)
{
QFont font;
font = action->font();
font.setPointSize(9);
action->setFont(font);
ui->toolBarAction->addAction(action);
if (slot) connect(action, SIGNAL(triggered()), this, slot);