aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/sqlitestudiocli/commands/clicommandsql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/sqlitestudiocli/commands/clicommandsql.cpp')
-rw-r--r--SQLiteStudio3/sqlitestudiocli/commands/clicommandsql.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/SQLiteStudio3/sqlitestudiocli/commands/clicommandsql.cpp b/SQLiteStudio3/sqlitestudiocli/commands/clicommandsql.cpp
index 4b66592..cb89dfe 100644
--- a/SQLiteStudio3/sqlitestudiocli/commands/clicommandsql.cpp
+++ b/SQLiteStudio3/sqlitestudiocli/commands/clicommandsql.cpp
@@ -8,6 +8,7 @@
#include "common/unused.h"
#include "cli_config.h"
#include "cliutils.h"
+#include "common/compatibility.h"
#include <QList>
#include <QDebug>
@@ -290,7 +291,7 @@ void CliCommandSql::shrinkColumns(QList<CliCommandSql::SortedColumnWidth*>& colu
previousTotalWidth = totalWidth;
// Sort columns by current widths
- qSort(columnWidths);
+ sSort(columnWidths);
// See if we can shrink headers only, or we already need to shrink the data
for (SortedColumnWidth* colWidth : columnWidths)