diff options
Diffstat (limited to 'desktop-widgets/printoptions.cpp')
-rw-r--r-- | desktop-widgets/printoptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/printoptions.cpp b/desktop-widgets/printoptions.cpp index 38a670cf8..0d9ae0a40 100644 --- a/desktop-widgets/printoptions.cpp +++ b/desktop-widgets/printoptions.cpp @@ -56,7 +56,7 @@ void PrintOptions::setupTemplates() // temp. store the template from options, as addItem() updates it via: // on_printTemplate_currentIndexChanged() QString storedTemplate = printOptions->p_template; - qSort(currList); + currList.sort(); int current_index = 0; ui.printTemplate->clear(); Q_FOREACH(const QString& theme, currList) { |