1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Added missing placeholder text

This commit is contained in:
Martin Tůma 2021-07-12 12:07:09 +02:00
parent d51b16b398
commit b36aa057e8

View File

@ -13,6 +13,7 @@ DirSelectWidget::DirSelectWidget(QWidget *parent) : QWidget(parent)
_edit = new QLineEdit(); _edit = new QLineEdit();
_edit->setMinimumWidth(fm.averageCharWidth() * (QDir::homePath().length() _edit->setMinimumWidth(fm.averageCharWidth() * (QDir::homePath().length()
+ 12)); + 12));
_edit->setPlaceholderText(tr("System default"));
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32
_button = new QPushButton("..."); _button = new QPushButton("...");
_button->setMaximumWidth(_button->sizeHint().width() / 2); _button->setMaximumWidth(_button->sizeHint().width() / 2);