diff options
Diffstat (limited to 'Swift/QtUI/QtStatusWidget.cpp')
-rw-r--r-- | Swift/QtUI/QtStatusWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtStatusWidget.cpp b/Swift/QtUI/QtStatusWidget.cpp index d7c0e63..459b283 100644 --- a/Swift/QtUI/QtStatusWidget.cpp +++ b/Swift/QtUI/QtStatusWidget.cpp @@ -205,7 +205,7 @@ StatusShow::Type QtStatusWidget::getSelectedStatusShow() { void QtStatusWidget::handleItemClicked(QListWidgetItem* item) { editing_ = false; - selectedStatusType_ = (StatusShow::Type)(item->data(Qt::UserRole).toInt()); + selectedStatusType_ = static_cast<StatusShow::Type>(item->data(Qt::UserRole).toInt()); newStatusText_ = item->data(Qt::DisplayRole).toString(); statusEdit_->setText(newStatusText_); handleEditComplete(); |