mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 22:55:04 -04:00
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:
parent
90c3c24412
commit
ea53e41c9c
11 changed files with 78 additions and 119 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue