Commit 34135ef5 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent 1d9935cd
...@@ -1166,9 +1166,10 @@ void WMainWindow::dropEvent( QDropEvent *event ) ...@@ -1166,9 +1166,10 @@ void WMainWindow::dropEvent( QDropEvent *event )
"The following files are not supported as standard data types by OpenWalnut at the moment:<br>"; "The following files are not supported as standard data types by OpenWalnut at the moment:<br>";
for ( size_t i = 0; i < unsupported.size(); ++i ) for ( size_t i = 0; i < unsupported.size(); ++i )
{ {
message += QString::fromStdString( unsupported[ i ] ) + QString("<br>" ); message += QString::fromStdString( unsupported[ i ] ) + QString( "<br>" );
} }
message += "There may be additional modules supporting them.<br>All other files have been loaded and should be visible in the module browser and network editor."; message += "There may be additional modules supporting them.<br>All other files have been loaded and should be visible in the module "
"browser and network editor.";
QMessageBox::information( this, "Not yet implemented!", QMessageBox::information( this, "Not yet implemented!",
message message
); );
...@@ -1185,7 +1186,7 @@ void WMainWindow::dragMoveEvent( QDragMoveEvent *event ) ...@@ -1185,7 +1186,7 @@ void WMainWindow::dragMoveEvent( QDragMoveEvent *event )
{ {
QString path = url.toLocalFile(); QString path = url.toLocalFile();
QFileInfo info( path ); QFileInfo info( path );
// TODO( mario ) check when this fails, I assume we have problems with files with multiple dots such as session.1.nii // TODO(mario): check when this fails, I assume we have problems with files with multiple dots such as session.1.nii
QString suffix = info.completeSuffix(); QString suffix = info.completeSuffix();
if ( suffix == "cnt" if ( suffix == "cnt"
|| suffix == "edf" || suffix == "edf"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment