diff options
author | Nils Achtergarde <[email protected]> | 2017-12-31 00:31:51 +0000 |
---|---|---|
committer | Nils Achtergarde <[email protected]> | 2017-12-31 00:31:51 +0000 |
commit | d783d8e456a3d130a8e8055ec6ccd8f97762f35c (patch) | |
tree | d991d6a633f582eacd0df13616b9b75a5b4db91f | |
parent | recommit of ed8fb7fab377f277811368229b5d056e7edd860a (automatically restart g... (diff) | |
download | gpg4usb-d783d8e456a3d130a8e8055ec6ccd8f97762f35c.tar.gz gpg4usb-d783d8e456a3d130a8e8055ec6ccd8f97762f35c.zip |
recommit of dbe66cf033cf8b450b74e2e3fd510310169bce24 (minor changes for keydbpath in settingsdialog)
-rwxr-xr-x | settingsdialog.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/settingsdialog.cpp b/settingsdialog.cpp index 86d6fbf..c4eda75 100755 --- a/settingsdialog.cpp +++ b/settingsdialog.cpp @@ -629,16 +629,17 @@ GpgPathsTab::GpgPathsTab(QWidget *parent) // Label containing the current keydbpath relative to default keydb path keydbLabel = new QLabel(accKeydbPath,this); - QPushButton *keydbButton = new QPushButton("Choose keydb path",this); + QPushButton *keydbButton = new QPushButton("Change keydb path",this); connect(keydbButton, SIGNAL(clicked()), this, SLOT(chooseKeydbDir())); QPushButton *keydbDefaultButton = new QPushButton("Set keydb to default path",this); connect(keydbDefaultButton, SIGNAL(clicked()), this, SLOT(setKeydbPathToDefault())); keydbBox->setLayout(keydbBoxLayout); - keydbBoxLayout->addWidget(keydbLabel,1,1); - keydbBoxLayout->addWidget(keydbButton,1,2); - keydbBoxLayout->addWidget(keydbDefaultButton,2,2); - keydbBoxLayout->addWidget(new QLabel(tr("<b>NOTE: </b> Gpg4usb will restart automatically if you change the keydb path!")),3,1); + keydbBoxLayout->addWidget(new QLabel(tr("Current keydb path: ")),1,1); + keydbBoxLayout->addWidget(keydbLabel,1,2); + keydbBoxLayout->addWidget(keydbButton,1,3); + keydbBoxLayout->addWidget(keydbDefaultButton,2,3); + keydbBoxLayout->addWidget(new QLabel(tr("<b>NOTE: </b> Gpg4usb will restart automatically if you change the keydb path!")),3,1,1,3); QVBoxLayout *mainLayout = new QVBoxLayout; mainLayout->addWidget(keydbBox); |