summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filedetailview.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2024-02-25 04:49:11 +0300
committerAlexander Golubev <[email protected]>2024-03-07 22:23:10 +0300
commit430301a436a5526961c95810cd1d9057956a6d08 (patch)
tree47976c19c04455327d7e56c5273997136613242c /src/gvcore/filedetailview.cpp
parent686ac453212e8e45f007353890fc4ca35eed39cf (diff)
downloadgwenview-430301a436a5526961c95810cd1d9057956a6d08.tar.gz
gwenview-430301a436a5526961c95810cd1d9057956a6d08.zip
Suppress several warnings
Signed-off-by: Alexander Golubev <[email protected]>
Diffstat (limited to 'src/gvcore/filedetailview.cpp')
-rw-r--r--src/gvcore/filedetailview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gvcore/filedetailview.cpp b/src/gvcore/filedetailview.cpp
index 2a73176..b3ff35b 100644
--- a/src/gvcore/filedetailview.cpp
+++ b/src/gvcore/filedetailview.cpp
@@ -306,13 +306,13 @@ void FileDetailView::slotSortingChanged( int col )
switch( col ) {
case COL_NAME:
- sortSpec = (sort & ~TQDir::SortByMask | TQDir::Name);
+ sortSpec = ((sort & ~TQDir::SortByMask) | TQDir::Name);
break;
case COL_SIZE:
- sortSpec = (sort & ~TQDir::SortByMask | TQDir::Size);
+ sortSpec = ((sort & ~TQDir::SortByMask) | TQDir::Size);
break;
case COL_DATE:
- sortSpec = (sort & ~TQDir::SortByMask | TQDir::Time);
+ sortSpec = ((sort & ~TQDir::SortByMask) | TQDir::Time);
break;
// the following columns have no equivalent in TQDir, so we set it