diff options
author | Alexander Golubev <[email protected]> | 2024-02-25 04:49:11 +0300 |
---|---|---|
committer | Alexander Golubev <[email protected]> | 2024-03-07 22:23:10 +0300 |
commit | 430301a436a5526961c95810cd1d9057956a6d08 (patch) | |
tree | 47976c19c04455327d7e56c5273997136613242c /src/gvcore/filedetailview.cpp | |
parent | 686ac453212e8e45f007353890fc4ca35eed39cf (diff) | |
download | gwenview-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.cpp | 6 |
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 |