summaryrefslogtreecommitdiff
path: root/src/ui/addrdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/addrdialog.cpp')
-rw-r--r--src/ui/addrdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/addrdialog.cpp b/src/ui/addrdialog.cpp
index ab4f174..5c6d2f3 100644
--- a/src/ui/addrdialog.cpp
+++ b/src/ui/addrdialog.cpp
@@ -46,7 +46,7 @@ const int addrDialog::ports[3] = {23, 22, 22};
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-addrDialog::addrDialog(QWidget *parent_, const FQTermParam& parameter, int buttons, Qt::WFlags fl)
+addrDialog::addrDialog(QWidget *parent_, const FQTermParam& parameter, int buttons, Qt::WindowFlags fl)
: QDialog(parent_, fl),
menuButtonGroup_(this),
param_(parameter) {
@@ -242,7 +242,7 @@ void addrDialog::onCancel() {
void addrDialog::onFgcolor() {
QColor color = QColorDialog::getColor(param_.foregroundColor_);
- if (color.isValid() == TRUE) {
+ if (color.isValid() == true) {
param_.foregroundColor_ = color;
previewFont();
}
@@ -250,7 +250,7 @@ void addrDialog::onFgcolor() {
void addrDialog::onBgcolor() {
QColor color = QColorDialog::getColor(param_.backgroundColor_);
- if (color.isValid() == TRUE) {
+ if (color.isValid() == true) {
param_.backgroundColor_ = color;
previewFont();
}
@@ -300,7 +300,7 @@ void addrDialog::onChooseScript() {
void addrDialog::onMenuColor() {
QColor color = QColorDialog::getColor(param_.menuColor_);
- if (color.isValid() == TRUE) {
+ if (color.isValid() == true) {
param_.menuColor_ = color;
previewMenu();
}