Commit e6d10c86 authored by Leandro Melo's avatar Leandro Melo
Browse files

Make PathChooser always use QPushButtons

It might look a little bigger, but since we are using
QPushButtons by default in the options pages it's more
uniform considering the buttons around.

If we "conclude" it looks weird or unpleasant in other
places (like in the wizards, for example) we can consider
an alternative approach.

Reviewed-by: con
parent b3791e52
......@@ -50,7 +50,6 @@
#include <QtGui/QFileDialog>
#include <QtGui/QHBoxLayout>
#include <QtGui/QLineEdit>
#include <QtGui/QToolButton>
#include <QtGui/QPushButton>
/*static*/ const char * const Utils::PathChooser::browseButtonLabel =
......@@ -262,11 +261,7 @@ PathChooser::~PathChooser()
void PathChooser::addButton(const QString &text, QObject *receiver, const char *slotFunc)
#ifdef Q_WS_MAC
QPushButton *button = new QPushButton;
QToolButton *button = new QToolButton;
connect(button, SIGNAL(clicked()), receiver, slotFunc);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment