aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2019-07-18 22:34:01 +0200
committerRoland Knall <rknall@gmail.com>2019-07-18 21:30:33 +0000
commit7c7d8ee3d7bfaa867768f9ac1551c20967781bed (patch)
tree6298f83ac6e2e980f560148153d2d98ebf1965ff /ui/qt
parent8dcde280c2f119c5b2a53a077be26e058b62de13 (diff)
Qt: Profile import button shall not be small
Don't set attribute Qt::WA_MacSmallSize on the Profile import button. Also fix a typo: occured -> occurred. Change-Id: Id14001e71605bab97fe8ac3f14ecbc8242bdda17 Reviewed-on: https://code.wireshark.org/review/34008 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/profile_dialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/profile_dialog.cpp b/ui/qt/profile_dialog.cpp
index c36441190e..d831632e5b 100644
--- a/ui/qt/profile_dialog.cpp
+++ b/ui/qt/profile_dialog.cpp
@@ -62,7 +62,6 @@ ProfileDialog::ProfileDialog(QWidget *parent) :
pd_ui_->newToolButton->setAttribute(Qt::WA_MacSmallSize, true);
pd_ui_->deleteToolButton->setAttribute(Qt::WA_MacSmallSize, true);
pd_ui_->copyToolButton->setAttribute(Qt::WA_MacSmallSize, true);
- pd_ui_->btnImport->setAttribute(Qt::WA_MacSmallSize, true);
#endif
#ifndef HAVE_MINIZIP
@@ -354,7 +353,7 @@ void ProfileDialog::on_btnImport_clicked()
int count = 0;
if ( ( count = model_->unzipProfiles(zipFile) ) == 0 )
{
- QString msg = tr("An error occured, while importing profiles from %1").arg(fi.fileName());
+ QString msg = tr("An error occurred while importing profiles from %1").arg(fi.fileName());
QMessageBox::warning(this, tr("Error importing profiles"), msg );
}
else {