diff options
| author | Zhangzhi Hu <[email protected]> | 2024-10-30 00:18:57 +0800 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2024-10-31 10:04:40 +0000 |
| commit | 25f7aba43d0f4ca38167dd686ae0efd8c89cc5d4 (patch) | |
| tree | 4dd38ee1dc96039f14f19eba7d5eb876b5092336 /src/dolphinmainwindow.cpp | |
| parent | af77a3f5a8240599c1c7e0d07a2a3a485ca1af02 (diff) | |
refactor: replace QString() with QStringLiteral() for better performance
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index b0eccde0d..a8ef550d6 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2454,7 +2454,7 @@ void DolphinMainWindow::updateFileAndEditActions() QAction *addToPlacesAction = col->action(QStringLiteral("add_to_places")); QAction *copyToOtherViewAction = col->action(QStringLiteral("copy_to_inactive_split_view")); QAction *moveToOtherViewAction = col->action(QStringLiteral("move_to_inactive_split_view")); - QAction *copyLocation = col->action(QString("copy_location")); + QAction *copyLocation = col->action(QStringLiteral("copy_location")); if (list.isEmpty()) { stateChanged(QStringLiteral("has_no_selection")); |
