Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 5ca6aaf

Browse files
committed
'operator!=' is deprecated: use !QString::isNull()
1 parent 6643a87 commit 5ca6aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MainWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ void MainWindow::refreshProfiles()
909909
mUI.profileComboBox->addItem(profileTitle, QVariant(it->first));
910910
}
911911

912-
if (previouslySelected != QString::Null())
912+
if (!previouslySelected.isNull())
913913
{
914914
const int indexCandidate = mUI.profileComboBox->findData(QVariant(previouslySelected));
915915
if (indexCandidate != -1)

0 commit comments

Comments
 (0)